AP_HAL_ESP32: only enable quad frame for sim on hw

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
Rhys Mainwaring 2024-12-13 13:19:38 +00:00
parent f1f4543617
commit 8417008c0f
2 changed files with 7 additions and 0 deletions

View File

@ -148,3 +148,7 @@
#define HAL_LOGGING_BACKENDS_DEFAULT 1 #define HAL_LOGGING_BACKENDS_DEFAULT 1
#define AP_RCPROTOCOL_ENABLED 0 #define AP_RCPROTOCOL_ENABLED 0
// disable all frames for sim on hw except quad to save DRAM .bss
#define AP_MOTORS_FRAME_DEFAULT_ENABLED 0
#define AP_MOTORS_FRAME_QUAD_ENABLED 1

View File

@ -93,3 +93,6 @@
#define AP_SCRIPTING_ENABLED 0 #define AP_SCRIPTING_ENABLED 0
#define HAL_USE_EMPTY_STORAGE 1 #define HAL_USE_EMPTY_STORAGE 1
// disable all frames for sim on hw except quad to save DRAM .bss
#define AP_MOTORS_FRAME_DEFAULT_ENABLED 0
#define AP_MOTORS_FRAME_QUAD_ENABLED 1