mirror of https://github.com/ArduPilot/ardupilot
RC_Channel: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
This commit is contained in:
parent
341379c5bd
commit
b0e59b2611
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue