summaryrefslogtreecommitdiff
path: root/nuttx/arch/mips
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-02-28 14:35:40 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-02-28 14:35:40 -0600
commit42f742c4beda5e838eeefad428c698b2d252abcd (patch)
tree79c1477ab1ba14e1c4545e6290d78d9abd404436 /nuttx/arch/mips
parent1453d080165df462ddef9c8b667d80ea0d7b65d5 (diff)
downloadpx4-nuttx-42f742c4beda5e838eeefad428c698b2d252abcd.tar.gz
px4-nuttx-42f742c4beda5e838eeefad428c698b2d252abcd.tar.bz2
px4-nuttx-42f742c4beda5e838eeefad428c698b2d252abcd.zip
PIC32MZ: Fix yet another error in DEVCFG settings
Diffstat (limited to 'nuttx/arch/mips')
-rw-r--r--nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h2
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 f3439d52b..3a676f887 100644
--- a/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h
+++ b/nuttx/arch/mips/src/pic32mz/chip/pic32mzec-features.h
@@ -449,7 +449,7 @@
#define DEVCFG0_DEBUG_SHIFT (0) /* Bits 0-1: Background Debugger Enable bits */
#define DEVCFG0_DEBUG_MASK (3 << DEVCFG0_DEBUG_SHIFT)
-# define DEVCFG0_DEBUG_ENABLED (1 << DEVCFG0_DEBUG_SHIFT) /* Debugger is enabled */
+# define DEVCFG0_DEBUG_ENABLED (2 << DEVCFG0_DEBUG_SHIFT) /* Debugger is enabled */
# define DEVCFG0_DEBUG_DISABLED (3 << DEVCFG0_DEBUG_SHIFT) /* Debugger is disabled */
#define DEVCFG0_JTAGEN (1 << 2) /* Bit 2: JTAG Enable bit(1) */
#define DEVCFG0_ICESEL_SHIFT (3) /* Bits 3-4: ICE Communication Channel Select bits */