From 7f8df080f8be0371dd4be2932a509c9c780c696d Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 10 Aug 2023 20:56:25 +1000 Subject: [PATCH] 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); --- libraries/SITL/SIM_GPS.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/SITL/SIM_GPS.cpp b/libraries/SITL/SIM_GPS.cpp index 59edc0f8ed..8b28d30920 100644 --- a/libraries/SITL/SIM_GPS.cpp +++ b/libraries/SITL/SIM_GPS.cpp @@ -18,6 +18,7 @@ #include #include #include +#include #include #include