mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[ins] add warning if obsolete INS_BARO_SENS is defined
This commit is contained in:
@@ -74,6 +74,11 @@
|
||||
#define VFF_R_SONAR_0 0.1
|
||||
#define VFF_R_SONAR_OF_M 0.2
|
||||
|
||||
#ifndef INS_SONAR_UPDATE_ON_AGL
|
||||
#define INS_SONAR_UPDATE_ON_AGL FALSE
|
||||
PRINT_CONFIG_MSG("INS_SONAR_UPDATE_ON_AGL defaulting to FALSE")
|
||||
#endif
|
||||
|
||||
#endif // USE_SONAR
|
||||
|
||||
#ifndef USE_INS_NAV_INIT
|
||||
@@ -81,12 +86,10 @@
|
||||
PRINT_CONFIG_MSG("USE_INS_NAV_INIT defaulting to TRUE")
|
||||
#endif
|
||||
|
||||
#ifndef INS_SONAR_UPDATE_ON_AGL
|
||||
#define INS_SONAR_UPDATE_ON_AGL FALSE
|
||||
PRINT_CONFIG_MSG("INS_SONAR_UPDATE_ON_AGL defaulting to FALSE")
|
||||
#ifdef INS_BARO_SENS
|
||||
#warning INS_BARO_SENS is obsolete, please remove it from your airframe file.
|
||||
#endif
|
||||
|
||||
|
||||
/** default barometer to use in INS */
|
||||
#ifndef INS_BARO_ID
|
||||
#define INS_BARO_ID BARO_BOARD_SENDER_ID
|
||||
|
||||
Reference in New Issue
Block a user