Browse Source

AP_NavEKF: fix for HAL_SITL rename

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
c4d6f9d040
  1. 2
      libraries/AP_NavEKF/AP_SmallEKF.cpp

2
libraries/AP_NavEKF/AP_SmallEKF.cpp

@ -6,7 +6,7 @@
// uncomment this to force the optimisation of this code, note that // uncomment this to force the optimisation of this code, note that
// this makes debugging harder // this makes debugging harder
#if CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX #if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX
#pragma GCC optimize("O0") #pragma GCC optimize("O0")
#else #else
#pragma GCC optimize("O3") #pragma GCC optimize("O3")

Loading…
Cancel
Save