mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 14:08:45 -04:00
GCS_Common: AP_Generator_Richenpower is now AP_Generator
This commit is contained in:
parent
836717c0af
commit
caf1ad28d5
@ -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
|
void GCS_MAVLINK::send_generator_status() const
|
||||||
{
|
{
|
||||||
#if GENERATOR_ENABLED
|
#if GENERATOR_ENABLED
|
||||||
AP_Generator_RichenPower *generator = AP::generator();
|
AP_Generator *generator = AP::generator();
|
||||||
if (generator == nullptr) {
|
if (generator == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user