mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-18 16:23:07 +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){
|
bool GwChannel::canSendOut(const char *buffer){
|
||||||
if (! enabled || ! impl) return false;
|
if (! enabled || ! impl) return false;
|
||||||
if (! NMEAout || readActisense || writeActisense) return false;
|
if (! NMEAout || readActisense) return false;
|
||||||
if (writeFilter && ! writeFilter->canPass(buffer)) return false;
|
if (writeFilter && ! writeFilter->canPass(buffer)) return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user