From 42b48d9626554954ef5a0e7ffb6f4c42265b2d46 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 24 Aug 2015 16:42:54 +0300 Subject: [PATCH] LPC11C24 wrong optimization setting --- .../lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp index ddf96183e4..169dd35758 100644 --- a/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp +++ b/libuavcan_drivers/lpc11c24/test_olimex_lpc_p11c24/src/sys/board.cpp @@ -158,9 +158,6 @@ void resetWatchdog() Chip_WWDT_Feed(LPC_WWDT); } -#if __GNUC__ -__attribute__((optimize(0))) // Optimization must be disabled lest it hardfaults in the IAP call -#endif void syslog(const char* msg) { Chip_UART_SendBlocking(LPC_USART, msg, static_cast(std::strlen(msg)));