mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-09 02:08:52 +08:00
STM32: Logging in CAN driver disabled
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user