From b4d8e1133c731405e8b64b0ab208c59547c74b52 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 2 Mar 2024 12:53:50 +1100 Subject: [PATCH] AP_HAL: use NoVehicle by default allows build of examples for esp32s3empty --- libraries/AP_HAL/SIMState.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL/SIMState.cpp b/libraries/AP_HAL/SIMState.cpp index 70fcb9abfa..54d08a886e 100644 --- a/libraries/AP_HAL/SIMState.cpp +++ b/libraries/AP_HAL/SIMState.cpp @@ -20,6 +20,7 @@ #include #include #include +#include #include #include @@ -45,6 +46,8 @@ using namespace AP_HAL; #define AP_SIM_FRAME_CLASS Blimp #elif APM_BUILD_TYPE(APM_BUILD_ArduSub) #define AP_SIM_FRAME_CLASS Submarine +#else +#define AP_SIM_FRAME_CLASS NoVehicle #endif #endif @@ -63,6 +66,8 @@ using namespace AP_HAL; #define AP_SIM_FRAME_STRING "blimp" #elif APM_BUILD_TYPE(APM_BUILD_ArduSub) #define AP_SIM_FRAME_STRING "sub" +#else +#define AP_SIM_FRAME_STRING "" #endif #endif