This commit is contained in:
richonguzman
2025-04-24 08:07:29 -04:00
parent 786f5bdc0e
commit e689bb592c
14 changed files with 49 additions and 52 deletions

View File

@@ -24,7 +24,7 @@ String inputSerialBuffer = "";
namespace TNC_Utils {
void setup() {
if (Config.tnc.enableServer && !Config.digi.ecoMode) {
if (Config.tnc.enableServer && Config.digi.ecoMode == 0) {
tncServer.stop();
tncServer.begin();
}
@@ -128,7 +128,7 @@ namespace TNC_Utils {
}
void loop() {
if (!Config.digi.ecoMode) {
if (Config.digi.ecoMode == 0) {
if (Config.tnc.enableServer) {
checkNewClients();
readFromClients();