mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-31 04:58:30 -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;
|
float rx_rate;
|
||||||
};
|
};
|
||||||
|
|
||||||
#if !HAL_UART_STATS_ENABLED
|
#if HAL_UART_STATS_ENABLED
|
||||||
#define LOG_STRUCTURE_FROM_HAL
|
|
||||||
#else
|
|
||||||
#define LOG_STRUCTURE_FROM_HAL \
|
#define LOG_STRUCTURE_FROM_HAL \
|
||||||
{ LOG_UART_MSG, sizeof(log_UART), \
|
{ LOG_UART_MSG, sizeof(log_UART), \
|
||||||
"UART","QBff","TimeUS,I,Tx,Rx", "s#BB", "F---" },
|
"UART","QBff","TimeUS,I,Tx,Rx", "s#BB", "F---" },
|
||||||
|
#else
|
||||||
|
#define LOG_STRUCTURE_FROM_HAL
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user