AP_Gererator: IE Fuel Cell: reset health timer at init

This commit is contained in:
Iampete1 2021-10-07 14:42:36 +01:00 committed by Randy Mackay
parent 24adf18685
commit f0bc041b86
1 changed files with 1 additions and 0 deletions

View File

@ -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