mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 21:11:27 +01:00
avoid write error
This commit is contained in:
1 parent
08af807cf9
commit
e7150d2259
1 file changed
+1
-1
@@ -117,7 +117,7 @@ class GwClient{
|
||||
LOG_DEBUG(GwLog::LOG,"write called on empty client");
|
||||
return GwBuffer::ERROR;
|
||||
}
|
||||
GwBuffer::WriteStatus rt=buffer->fetchData(writer,false);
|
||||
GwBuffer::WriteStatus rt=buffer->fetchData(writer,-1,false);
|
||||
if (rt != GwBuffer::OK){
|
||||
LOG_DEBUG(GwLog::DEBUG+1,"write returns %d on %s",rt,remoteIp.c_str());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user