From b9f1e7e301bb38da0c8cd11a01a4f7ea7ced6276 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 28 Feb 2015 14:35:40 -0600 Subject: [PATCH] PIC32MZ: Fix yet another error in DEVCFG settings --- arch/mips/src/pic32mz/chip/pic32mzec-features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/src/pic32mz/chip/pic32mzec-features.h b/arch/mips/src/pic32mz/chip/pic32mzec-features.h index f3439d52bb..3a676f887e 100644 --- a/arch/mips/src/pic32mz/chip/pic32mzec-features.h +++ b/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 */