mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 22:03:34 +08:00
STM32: Logging in CAN driver disabled
This commit is contained in:
@@ -17,7 +17,9 @@
|
|||||||
* Debug output
|
* Debug output
|
||||||
*/
|
*/
|
||||||
#ifndef UAVCAN_STM32_TRACE
|
#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__)
|
# define UAVCAN_STM32_LOG(fmt, ...) lowsyslog("uavcan_stm32: " fmt "\n", ##__VA_ARGS__)
|
||||||
# else
|
# else
|
||||||
# define UAVCAN_STM32_LOG(...) ((void)0)
|
# define UAVCAN_STM32_LOG(...) ((void)0)
|
||||||
|
|||||||
Reference in New Issue
Block a user