summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/lpc17xx/handlers.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/lpc17xx/handlers.c b/arch/arm/lpc17xx/handlers.c
index a421aff..50b02e8 100644
--- a/arch/arm/lpc17xx/handlers.c
+++ b/arch/arm/lpc17xx/handlers.c
@@ -35,6 +35,9 @@ void general_C_handler(enum FaultType fault, struct fault_data_extra_t * fault_d
uint8_t MMFSR = SCB->CFSR & 0xff;
uint8_t BFSR = (SCB->CFSR >> 8) & 0xff;
uint16_t UFSR = (SCB->CFSR >> 16) & 0xffff;
+ (void) MMFSR;
+ (void) BFSR;
+ (void) UFSR;
struct fault_data_cpu_t * fault_data_cpu = (struct fault_data_cpu_t *) ((eflags & 4) ? (void *) __get_PSP() : (void *) (fault_data_extra + 1));
DBGOUT("***FAULT***\r\neflags = 0x0%x\r\nPSP = %p\r\nType: ", eflags, __get_PSP());
switch (fault) {