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

avoid duplicate message conversion

This commit is contained in:
wellenvogel
2021-11-20 23:25:00 +01:00
parent 4d871bc121
commit 724e661396
4 changed files with 16 additions and 11 deletions

View File

@@ -44,6 +44,9 @@ void GwLog::logDebug(int level,const char *fmt,...){
return;
}
writer->write(prefix.c_str());
char buf[20];
snprintf(buf,20,"%lu:",millis());
writer->write(buf);
writer->write(buffer);
writer->write("\n");
xSemaphoreGive(locker);