Browse Source

AP_Mount: remove HAL_CPU_CLASS_150 check, 150 is already a minimum requirement

master
Tom Pittenger 6 years ago
parent
commit
4e9d026448
  1. 3
      libraries/AP_Mount/SoloGimbalEKF.cpp

3
libraries/AP_Mount/SoloGimbalEKF.cpp

@ -1,7 +1,5 @@
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#if HAL_CPU_CLASS >= HAL_CPU_CLASS_150
// 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_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX #if CONFIG_HAL_BOARD == HAL_BOARD_SITL || CONFIG_HAL_BOARD == HAL_BOARD_LINUX
@ -962,4 +960,3 @@ bool SoloGimbalEKF::getStatus() const
return YawAligned && (run_time > 15000); return YawAligned && (run_time > 15000);
} }
#endif // HAL_CPU_CLASS

Loading…
Cancel
Save