AP_Vehicle: add and use HAL_BUTTON_ENABLE

This commit is contained in:
Peter Barker 2021-08-12 13:38:20 +10:00 committed by Andrew Tridgell
parent 9dd02f0c2b
commit 47455f12db
1 changed files with 2 additions and 0 deletions

View File

@ -288,7 +288,9 @@ protected:
AP_Baro barometer;
Compass compass;
AP_InertialSensor ins;
#if HAL_BUTTON_ENABLED
AP_Button button;
#endif
RangeFinder rangefinder;
AP_RSSI rssi;