AP_HAL_ChibiOS: do not build QuickTune on peripherals

kills heavy peripherals

../../libraries/AP_Quicktune/AP_Quicktune.cpp: In member function 'void AP_Quicktune::update(bool)':
../../libraries/AP_Quicktune/AP_Quicktune.cpp:177:32: error: 'vehicle' is not a member of 'AP'
  177 |     const auto &vehicle = *AP::vehicle();
      |                                ^~~~~~~
compilation terminated due to -Wfatal-errors.

[ 688/1225] Compiling libraries/AP_TemperatureSensor/AP_TemperatureSensor_TSYS03.cpp
Waf: Leaving directory `/home/pbarker/rc/ardupilot/build/CubeOrange-periph-heavy'
This commit is contained in:
Peter Barker 2024-12-17 12:05:16 +11:00 committed by Peter Barker
parent 439c85e793
commit 6e49333a40
1 changed files with 4 additions and 0 deletions

View File

@ -468,3 +468,7 @@
#ifndef AP_CUSTOMROTATIONS_ENABLED #ifndef AP_CUSTOMROTATIONS_ENABLED
#define AP_CUSTOMROTATIONS_ENABLED 0 #define AP_CUSTOMROTATIONS_ENABLED 0
#endif #endif
#ifndef AP_QUICKTUNE_ENABLED
#define AP_QUICKTUNE_ENABLED 0
#endif