From f0bc041b865cc378646359a64de7c7569fe8b416 Mon Sep 17 00:00:00 2001 From: Iampete1 <iampete@hotmail.co.uk> Date: Thu, 7 Oct 2021 14:42:36 +0100 Subject: [PATCH] AP_Gererator: IE Fuel Cell: reset health timer at init --- libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp b/libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp index 46a4312f4b..24eb6605dd 100644 --- a/libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp +++ b/libraries/AP_Generator/AP_Generator_IE_FuelCell.cpp @@ -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