mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
@@ -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 */
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user