mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 14:33:07 +01:00
Sensor task runs with 100ms
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user