mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: make AP_RANGEFINDER_ENABLED remove more code
This commit is contained in:
parent
f9a94fd7dd
commit
fe6b120a73
|
@ -333,7 +333,9 @@ protected:
|
||||||
#if HAL_BUTTON_ENABLED
|
#if HAL_BUTTON_ENABLED
|
||||||
AP_Button button;
|
AP_Button button;
|
||||||
#endif
|
#endif
|
||||||
|
#if AP_RANGEFINDER_ENABLED
|
||||||
RangeFinder rangefinder;
|
RangeFinder rangefinder;
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAL_LOGGING_ENABLED
|
#if HAL_LOGGING_ENABLED
|
||||||
AP_Logger logger;
|
AP_Logger logger;
|
||||||
|
|
Loading…
Reference in New Issue