mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_Arming: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
This commit is contained in:
parent
b82b6f1e50
commit
d9844cc75a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user