mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-12 13:33:06 +01:00
correctly handle actisense mode when writing out
This commit is contained in:
@@ -130,7 +130,7 @@ void GwChannel::updateCounter(const char *msg, bool out)
|
||||
|
||||
bool GwChannel::canSendOut(const char *buffer){
|
||||
if (! enabled || ! impl) return false;
|
||||
if (! NMEAout || readActisense || writeActisense) return false;
|
||||
if (! NMEAout || readActisense) return false;
|
||||
if (writeFilter && ! writeFilter->canPass(buffer)) return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user