From 53e1b0531a170d54d0f9d118f5594711c3a4f4ef Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 26 Dec 2023 18:58:36 -0500 Subject: [PATCH] only:MC33810 periodic check of comms --- firmware/hw_layer/drivers/gpio/mc33810.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/firmware/hw_layer/drivers/gpio/mc33810.cpp b/firmware/hw_layer/drivers/gpio/mc33810.cpp index 37e18f11bc..511c1aa270 100644 --- a/firmware/hw_layer/drivers/gpio/mc33810.cpp +++ b/firmware/hw_layer/drivers/gpio/mc33810.cpp @@ -201,6 +201,12 @@ int Mc33810::update_output_and_diag() /* TODO: lock? */ + ret = check_comm(); + if (ret) { + // do we still have comms?! + return ret; + } + /* we need to get updates status */ all_status_updated = false;