From df70e2daa5b23c637626de8f0de1ede21685218f Mon Sep 17 00:00:00 2001 From: norbert-walter Date: Sun, 20 Mar 2022 19:21:14 +0100 Subject: [PATCH] Sensor task runs with 100ms --- lib/obp60task/OBPSensorTask.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/obp60task/OBPSensorTask.cpp b/lib/obp60task/OBPSensorTask.cpp index 664fcda..6c627ca 100644 --- a/lib/obp60task/OBPSensorTask.cpp +++ b/lib/obp60task/OBPSensorTask.cpp @@ -211,11 +211,11 @@ void sensorTask(void *param){ tN2kMsg N2kMsg; shared->setSensorData(sensors); //set initially read values - // Sensor task loop runs with 10ms + // Sensor task loop runs with 100ms //#################################################################################### while (true){ - delay(10); + delay(100); // Loop time 100ms Timer1.update(); // Update for Timer1 Timer2.update(); // Update for Timer2 if (millis() > starttime0 + 100)