SITL: correct compilation for CubeOrange-SimOnHardware

../../libraries/SITL/SIM_GPS.cpp: In member function 'void SITL::GPS::send_gsof(const uint8_t*, uint16_t)':
../../libraries/SITL/SIM_GPS.cpp:1292:24: error: 'AP_InternalError' has not been declared
 1292 |         INTERNAL_ERROR(AP_InternalError::error_t::flow_of_control);
This commit is contained in:
Peter Barker 2023-08-10 20:56:25 +10:00 committed by Peter Barker
parent 5b21834827
commit 7f8df080f8

View File

@ -18,6 +18,7 @@
#include <AP_BoardConfig/AP_BoardConfig.h>
#include <AP_HAL/AP_HAL.h>
#include <SITL/SITL.h>
#include <AP_InternalError/AP_InternalError.h>
#include <AP_Common/NMEA.h>
#include <AP_HAL/utility/sparse-endian.h>