GCS_Common: AP_Generator_Richenpower is now AP_Generator

This commit is contained in:
Gone4Dirt 2020-10-22 18:13:57 +01:00 committed by Peter Barker
parent 836717c0af
commit caf1ad28d5

View File

@ -4449,7 +4449,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
AP_Generator_RichenPower *generator = AP::generator();
AP_Generator *generator = AP::generator();
if (generator == nullptr) {
return;
}