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)));