mirror of https://github.com/ArduPilot/ardupilot
AP_Gererator: IE Fuel Cell: reset health timer at init
This commit is contained in:
parent
24adf18685
commit
f0bc041b86
|
@ -28,6 +28,7 @@ void AP_Generator_IE_FuelCell::init()
|
|||
return;
|
||||
}
|
||||
_uart->begin(AP::serialmanager().find_baudrate(AP_SerialManager::SerialProtocol_Generator, 0));
|
||||
_health_warn_last_ms = AP_HAL::millis();
|
||||
}
|
||||
|
||||
// Update fuelcell, expected to be called at 20hz
|
||||
|
|
Loading…
Reference in New Issue