mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF3: only include log struture if enabled
This commit is contained in:
parent
68b7293d9a
commit
cf14e741ee
|
@ -420,6 +420,7 @@ struct PACKED log_XKV {
|
|||
float v11;
|
||||
};
|
||||
|
||||
#if HAL_NAVEKF3_AVAILABLE
|
||||
#define LOG_STRUCTURE_FROM_NAVEKF3 \
|
||||
{ LOG_XKF0_MSG, sizeof(log_XKF0), \
|
||||
"XKF0","QBBccCCcccccccc","TimeUS,C,ID,rng,innov,SIV,TR,BPN,BPE,BPD,OFH,OFL,OFN,OFE,OFD", "s#-m---mmmmmmmm", "F--B---BBBBBBBB" , true }, \
|
||||
|
@ -448,3 +449,6 @@ struct PACKED log_XKV {
|
|||
"XKV1","QBffffffffffff","TimeUS,C,V00,V01,V02,V03,V04,V05,V06,V07,V08,V09,V10,V11", "s#------------", "F-------------" , true }, \
|
||||
{ LOG_XKV2_MSG, sizeof(log_XKV), \
|
||||
"XKV2","QBffffffffffff","TimeUS,C,V12,V13,V14,V15,V16,V17,V18,V19,V20,V21,V22,V23", "s#------------", "F-------------" , true },
|
||||
#else
|
||||
#define LOG_STRUCTURE_FROM_NAVEKF3
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue