AP_Servo_Telem: rearrange log-structure ifdefs

put the positive clause first to be consistent across codebase
This commit is contained in:
Peter Barker 2025-01-03 14:40:41 +11:00 committed by Peter Barker
parent c30e3ed141
commit 543e6028db

View File

@ -38,10 +38,10 @@ struct PACKED log_CSRV {
};
#if !AP_SERVO_TELEM_ENABLED
#define LOG_STRUCTURE_FROM_SERVO_TELEM
#else
#if AP_SERVO_TELEM_ENABLED
#define LOG_STRUCTURE_FROM_SERVO_TELEM \
{ LOG_CSRV_MSG, sizeof(log_CSRV), \
"CSRV","QBfffBfffffB","TimeUS,Id,Pos,Force,Speed,Pow,PosCmd,V,A,MotT,PCBT,Err", "s#dtk%dvAOO-", "F-000000000-", true },
#else
#define LOG_STRUCTURE_FROM_SERVO_TELEM
#endif