mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
STM32: Logging in CAN driver disabled
This commit is contained in:
parent
44d9764334
commit
3a90bbfa5e
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user