mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AL_HAL: Console output can be disabled
This commit is contained in:
parent
234bb5409d
commit
15a39c1649
@ -154,4 +154,11 @@ public:
|
||||
#if AP_SIM_ENABLED && CONFIG_HAL_BOARD != HAL_BOARD_SITL
|
||||
AP_HAL::SIMState *simstate;
|
||||
#endif
|
||||
|
||||
#ifndef HAL_CONSOLE_DISABLED
|
||||
# define DEV_PRINTF(fmt, args ...) do { hal.console->printf(fmt, ## args); } while(0)
|
||||
#else
|
||||
# define DEV_PRINTF(fmt, args ...)
|
||||
#endif
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user