AP_Logger: correct compilation when fence compiled out

This commit is contained in:
Peter Barker 2022-08-31 20:57:07 +10:00 committed by Peter Barker
parent 252588b9f8
commit a9a3de8f20
1 changed files with 2 additions and 2 deletions

View File

@ -1291,6 +1291,7 @@ LOG_STRUCTURE_FROM_NAVEKF \
LOG_STRUCTURE_FROM_AHRS \
LOG_STRUCTURE_FROM_HAL_CHIBIOS \
LOG_STRUCTURE_FROM_RPM \
LOG_STRUCTURE_FROM_FENCE \
{ LOG_DF_FILE_STATS, sizeof(log_DSF), \
"DSF", "QIHIIII", "TimeUS,Dp,Blk,Bytes,FMn,FMx,FAv", "s--b---", "F--0---" }, \
{ LOG_RALLY_MSG, sizeof(log_Rally), \
@ -1328,8 +1329,7 @@ LOG_STRUCTURE_FROM_AIS \
{ LOG_VER_MSG, sizeof(log_VER), \
"VER", "QBHBBBBIZH", "TimeUS,BT,BST,Maj,Min,Pat,FWT,GH,FWS,APJ", "s---------", "F---------", false }, \
{ LOG_MOTBATT_MSG, sizeof(log_MotBatt), \
"MOTB", "QffffB", "TimeUS,LiftMax,BatVolt,ThLimit,ThrAvMx,FailFlags", "s-----", "F-----" , true }, \
LOG_STRUCTURE_FROM_FENCE
"MOTB", "QffffB", "TimeUS,LiftMax,BatVolt,ThLimit,ThrAvMx,FailFlags", "s-----", "F-----" , true }
// message types 0 to 63 reserved for vehicle specific use