diff options
Diffstat (limited to 'nuttx/arch/arm/src/sama5/chip/sam_wdt.h')
-rw-r--r-- | nuttx/arch/arm/src/sama5/chip/sam_wdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/sama5/chip/sam_wdt.h b/nuttx/arch/arm/src/sama5/chip/sam_wdt.h index e07d6a073..ceae9f458 100644 --- a/nuttx/arch/arm/src/sama5/chip/sam_wdt.h +++ b/nuttx/arch/arm/src/sama5/chip/sam_wdt.h @@ -74,7 +74,7 @@ #define WDT_MR_WDV_SHIFT (0) /* Bits 0-11: Watchdog Counter Value */ #define WDT_MR_WDV_MASK (0xfff << WDT_MR_WDV_SHIFT) -# define WDT_MR_WDV_MASK(n) ((uint32_t)(n) << WDT_MR_WDV_SHIFT) +# define WDT_MR_WDV(n) ((uint32_t)(n) << WDT_MR_WDV_SHIFT) #define WDT_MR_WDFIEN (1 << 12) /* Bit 12: Watchdog Fault Interrupt Enable */ #define WDT_MR_WDRSTEN (1 << 13) /* Bit 13: Watchdog Reset Enable */ #define WDT_MR_WDRPROC (1 << 14) /* Bit 14: Watchdog Reset Processor */ |