GCS_MAVLink: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED
This commit is contained in:
parent
d86e2792fd
commit
341379c5bd
@ -4836,7 +4836,7 @@ void GCS_MAVLINK::send_set_position_target_global_int(uint8_t target_system, uin
|
||||
|
||||
void GCS_MAVLINK::send_generator_status() const
|
||||
{
|
||||
#if GENERATOR_ENABLED
|
||||
#if HAL_GENERATOR_ENABLED
|
||||
AP_Generator *generator = AP::generator();
|
||||
if (generator == nullptr) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user