diff --git a/libuavcan_drivers/stm32/driver/src/internal.hpp b/libuavcan_drivers/stm32/driver/src/internal.hpp index c9d045dbfd..8cc3eb08d3 100644 --- a/libuavcan_drivers/stm32/driver/src/internal.hpp +++ b/libuavcan_drivers/stm32/driver/src/internal.hpp @@ -17,7 +17,9 @@ * Debug output */ #ifndef UAVCAN_STM32_TRACE -# if UAVCAN_STM32_NUTTX && CONFIG_ARCH_LOWPUTC +// lowsyslog() crashes the system in this context +//# if UAVCAN_STM32_NUTTX && CONFIG_ARCH_LOWPUTC +# if 0 # define UAVCAN_STM32_LOG(fmt, ...) lowsyslog("uavcan_stm32: " fmt "\n", ##__VA_ARGS__) # else # define UAVCAN_STM32_LOG(...) ((void)0)