make birectional channels the default, clean up some channel handling

This commit is contained in:
wellenvogel committed 2025-09-17 17:57:03 +02:00
1 parent 3d131c7d98
commit d5a9568b67
15 files changed
+42 -39

No files matched your search

-13
View File
@@ -66,19 +66,6 @@ GwSerial::~GwSerial()
if (lock != nullptr) vSemaphoreDelete(lock);
}
String GwSerial::getMode(){
switch (type){
case GWSERIAL_TYPE_UNI:
return "UNI";
case GWSERIAL_TYPE_BI:
return "BI";
case GWSERIAL_TYPE_RX:
return "RX";
case GWSERIAL_TYPE_TX:
return "TX";
}
return "UNKNOWN";
}
int GwSerial::getType() {
return type;
}