Random Cycle -> Random Smooth + netdebug/serial bugfix

This commit is contained in:
Ewoud
2023-03-24 15:36:00 +01:00
parent 274cdb4d32
commit a66274d532
5 changed files with 13 additions and 5 deletions

View File

@@ -484,6 +484,8 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
CJSON(netDebugPrintIP[i], if_ndb_ip[i]);
CJSON(netDebugPrintPort, if_ndb["port"]);
CJSON(netDebugEnabled, if_ndb["enabled"]);
// USER_PRINTF("deserializeConfig %d\n", netDebugEnabled);
pinManager.manageDebugTXPin();
#endif
JsonObject if_ntp = interfaces[F("ntp")];
@@ -953,6 +955,7 @@ void serializeConfig() {
}
if_ndb["port"] = netDebugPrintPort;
if_ndb["enabled"] = netDebugEnabled;
// USER_PRINTF("serializeConfig %d\n", netDebugEnabled);
#endif
JsonObject if_ntp = interfaces.createNestedObject("ntp");