Merged in gnagflow/nuttx (pull request #70)

SAM34 Bugfixes
This commit is contained in:
Gregory Nutt
2016-06-23 18:30:05 -06:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -209,7 +209,7 @@
#define DACC_WPMR_WPEN (1 << 0) /* Bit 0: Write Protect Enable */
#define DACC_WPMR_WPKEY_SHIFT (8) /* Bits 8-31: Write Protect KEY */
#define DACC_WPMR_WPKEY_MASK (0x00ffffff << DACC_WPMR_WPKEY_SHIFT)
# define DACC_WPMR_WPKEY_MASK (0x00444143 << DACC_WPMR_WPKEY_SHIFT)
# define DACC_WPMR_WPKEY (0x00444143 << DACC_WPMR_WPKEY_SHIFT)
/* Write Protect Status register */
+1 -1
View File
@@ -258,7 +258,7 @@ static int timer_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
/* Stop the timer */
if (lower->ops->start)
if (lower->ops->stop)
{
ret = lower->ops->stop(lower);
}