diff options
Diffstat (limited to 'apps/serial1')
-rw-r--r-- | apps/serial1/serial1.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/serial1/serial1.cpp b/apps/serial1/serial1.cpp index 60e9bc9..e93286c 100644 --- a/apps/serial1/serial1.cpp +++ b/apps/serial1/serial1.cpp @@ -3,17 +3,15 @@ #include <stm32f10x_rcc.h> #include <stm32f10x_gpio.h> #include <stddef.h> -#include <stdarg.h> #include "debug.h" #include "tinyprintf.h" extern "C" void halt(); -#include "stm32f10x_conf.h" - extern "C" __attribute__((naked)) void HardFault_Handler_C(uint32_t *hardfault_args) { + (void) hardfault_args; halt(); } |