AP_Vehicle: use minimize.inc for Tramp and SmartAudio

... and rename HAL_SMARTAUDIO_ENABLED
This commit is contained in:
Peter Barker 2023-01-20 06:55:36 +11:00 committed by Andrew Tridgell
parent e0f6b264d0
commit 8075d33ae5
2 changed files with 3 additions and 3 deletions

View File

@ -239,7 +239,7 @@ void AP_Vehicle::setup()
vtx.init();
#endif
#if HAL_SMARTAUDIO_ENABLED
#if AP_SMARTAUDIO_ENABLED
smartaudio.init();
#endif

View File

@ -329,8 +329,8 @@ protected:
#if HAL_EXTERNAL_AHRS_ENABLED
AP_ExternalAHRS externalAHRS;
#endif
#if HAL_SMARTAUDIO_ENABLED
#if AP_SMARTAUDIO_ENABLED
AP_SmartAudio smartaudio;
#endif