1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-02-11 07:03:07 +01:00

correctly set the mode/type for serial channels

This commit is contained in:
wellenvogel
2025-09-17 17:40:28 +02:00
parent 7ebd582ca0
commit 3d131c7d98
12 changed files with 38 additions and 16 deletions

View File

@@ -5,6 +5,7 @@
#include "GwSocketConnection.h"
#include "GwSocketHelper.h"
#include "GWWifi.h"
#include "GwHardware.h"
GwUdpWriter::WriterSocket::WriterSocket(GwLog *l,int p,const String &src,const String &dst, SourceMode sm) :
sourceMode(sm), source(src), destination(dst), port(p),logger(l)
@@ -200,4 +201,6 @@ size_t GwUdpWriter::sendToClients(const char *buf, int source,bool partial)
GwUdpWriter::~GwUdpWriter()
{
}
}
int GwUdpWriter::getType() {return GWSERIAL_TYPE_BI;}