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:
@@ -2,6 +2,7 @@
|
||||
#include <functional>
|
||||
#include <ESPmDNS.h>
|
||||
#include "GwSocketHelper.h"
|
||||
#include "GwHardware.h"
|
||||
|
||||
class ResolveArgs{
|
||||
public:
|
||||
@@ -291,4 +292,6 @@ void GwTcpClient::setResolved(IPAddress addr, bool valid){
|
||||
GwTcpClient::ResolvedAddress GwTcpClient::getResolved(){
|
||||
GWSYNCHRONIZED(locker);
|
||||
return resolvedAddress;
|
||||
}
|
||||
}
|
||||
|
||||
int GwTcpClient::getType(){return GWSERIAL_TYPE_BI;}
|
||||
Reference in New Issue
Block a user