mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -04:00
AP_HAL: rearrange log-structure ifdefs
put the positive clause first to be consistent across codebase
This commit is contained in:
parent
5c1d480adc
commit
5fef5adade
@ -20,10 +20,10 @@ struct PACKED log_UART {
|
||||
float rx_rate;
|
||||
};
|
||||
|
||||
#if !HAL_UART_STATS_ENABLED
|
||||
#define LOG_STRUCTURE_FROM_HAL
|
||||
#else
|
||||
#if HAL_UART_STATS_ENABLED
|
||||
#define LOG_STRUCTURE_FROM_HAL \
|
||||
{ LOG_UART_MSG, sizeof(log_UART), \
|
||||
"UART","QBff","TimeUS,I,Tx,Rx", "s#BB", "F---" },
|
||||
#else
|
||||
#define LOG_STRUCTURE_FROM_HAL
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user