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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user