1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

optimize boat data string handling

This commit is contained in:
wellenvogel
2021-12-12 11:47:56 +01:00
parent e08bcf1009
commit de04e5443b
4 changed files with 216 additions and 145 deletions

View File

@@ -119,6 +119,6 @@ class TimeMonitor{
current[index]=now;
int64_t currentv=now-sv;
if ((now-start) > max) max=now-start;
times[index-1]->add(currentv);
times[index]->add(currentv);
}
};