RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED

This commit is contained in:
Peter Barker 2021-09-24 13:10:47 +10:00 committed by Peter Barker
parent 341379c5bd
commit b0e59b2611
1 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ void RC_Channel::do_aux_function_relay(const uint8_t relay, bool val)
servorelayevents->do_set_relay(relay, val);
}
#if GENERATOR_ENABLED
#if HAL_GENERATOR_ENABLED
void RC_Channel::do_aux_function_generator(const AuxSwitchPos ch_flag)
{
AP_Generator *generator = AP::generator();
@ -967,7 +967,7 @@ bool RC_Channel::do_aux_function(const aux_func_t ch_option, const AuxSwitchPos
do_aux_function_avoid_adsb(ch_flag);
break;
#if GENERATOR_ENABLED
#if HAL_GENERATOR_ENABLED
case AUX_FUNC::GENERATOR:
do_aux_function_generator(ch_flag);
break;