diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-28 13:48:16 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-28 13:48:16 -0600 |
commit | 362f0c882a0bcd5d89b4d320666f5256487c8409 (patch) | |
tree | d736b1f930ef23519a55bdfcc7d4238b321b5dd7 | |
parent | 22326445ec5b62b14a77a71e8a9326dffd7c901e (diff) | |
download | px4-nuttx-362f0c882a0bcd5d89b4d320666f5256487c8409.tar.gz px4-nuttx-362f0c882a0bcd5d89b4d320666f5256487c8409.tar.bz2 px4-nuttx-362f0c882a0bcd5d89b4d320666f5256487c8409.zip |
PIC32MZ: Ooops DMTCNT maximum value still bad
-rw-r--r-- | nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h b/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h index ceb0fbb32..40f32f1cb 100644 --- a/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h +++ b/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h @@ -440,7 +440,7 @@ #define DEVCFG1_DMTCNT_MASK (31 << DEVCFG1_DMTCNT_SHIFT) # define DEVCFG1_DMTCNT(n) ((uint32_t)((n)-8) << DEVCFG1_DMTCNT_SHIFT) /* 2**n, n=8..31 */ # define DEVCFG1_DMTCNT_MIN (0 << DEVCFG1_DMTCNT_SHIFT) /* 2**8 (256) */ -# define DEVCFG1_DMTCNT_MAX (28 << DEVCFG1_DMTCNT_SHIFT) /* 2**318 (2147483648) */ +# define DEVCFG1_DMTCNT_MAX (24 << DEVCFG1_DMTCNT_SHIFT) /* 2**318 (2147483648) */ #define DEVCFG1_FDMTEN (1 << 31) /* Bit 31: Deadman Timer enable bit */ #define DEVCFG1_RWO 0x00003800 /* Bits 11-13: Reserved, write as one */ |