From 341379c5bd7a4c5a337b8cd93efd57fd3a773081 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 24 Sep 2021 13:10:47 +1000 Subject: [PATCH] GCS_MAVLink: rename GENERATOR_ENABLED to HAL_GENERATOR_ENABLED --- libraries/GCS_MAVLink/GCS_Common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index 5a91ff2bcb..8fe132653b 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -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;