AP_Arming: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED

This commit is contained in:
Peter Barker 2021-09-24 13:10:46 +10:00 committed by Peter Barker
parent b82b6f1e50
commit d9844cc75a

View File

@ -1206,7 +1206,7 @@ bool AP_Arming::aux_auth_checks(bool display_failure)
bool AP_Arming::generator_checks(bool display_failure) const
{
#if GENERATOR_ENABLED
#if HAL_GENERATOR_ENABLED
const AP_Generator *generator = AP::generator();
if (generator == nullptr) {
return true;