correctly set the mode/type for serial channels

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

No files matched your search

+2
View File
@@ -43,6 +43,7 @@ class GwSerial : public GwChannelInterface{
bool getAvailableWrite(){return availableWrite;}
virtual void begin(unsigned long baud, uint32_t config=SERIAL_8N1, int8_t rxPin=-1, int8_t txPin=-1)=0;
virtual String getMode() override;
virtual int getType() override;
friend GwSerialStream;
};
@@ -122,6 +123,7 @@ template<typename T>
setError(serial,logger);
};
};