mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 22:58:32 -04:00
AP_Servo_Telem: rearrange log-structure ifdefs
put the positive clause first to be consistent across codebase
This commit is contained in:
parent
c30e3ed141
commit
543e6028db
@ -38,10 +38,10 @@ struct PACKED log_CSRV {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#if !AP_SERVO_TELEM_ENABLED
|
#if AP_SERVO_TELEM_ENABLED
|
||||||
#define LOG_STRUCTURE_FROM_SERVO_TELEM
|
|
||||||
#else
|
|
||||||
#define LOG_STRUCTURE_FROM_SERVO_TELEM \
|
#define LOG_STRUCTURE_FROM_SERVO_TELEM \
|
||||||
{ LOG_CSRV_MSG, sizeof(log_CSRV), \
|
{ 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 },
|
"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
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user