AP_RangeFinder: Add APM_BUILD_Heli

This commit is contained in:
Gone4Dirt 2021-09-28 10:18:22 +01:00 committed by Peter Barker
parent 9b7b9c351a
commit e0af10886b

View File

@ -225,7 +225,7 @@ void RangeFinder::convert_params(void) {
#if APM_BUILD_TYPE(APM_BUILD_ArduPlane)
info.old_key = 71;
#elif APM_BUILD_TYPE(APM_BUILD_ArduCopter)
#elif APM_BUILD_COPTER_OR_HELI()
info.old_key = 53;
#elif APM_BUILD_TYPE(APM_BUILD_ArduSub)
info.old_key = 35;