diff --git a/ampel-firmware/sensor_console.cpp b/ampel-firmware/sensor_console.cpp index 5b13396e0dbd37f26ae58cc809932c021a00d52e..95b28cd4490fed664f8ac8b9662aedbbf0e6ede6 100644 --- a/ampel-firmware/sensor_console.cpp +++ b/ampel-firmware/sensor_console.cpp @@ -2,6 +2,7 @@ namespace sensor_console { const uint8_t MAX_COMMANDS = 26; + //TODO: Check if it's really needed? Is it including parameter??? const uint8_t MAX_COMMAND_SIZE = 20; // Should be enough for "set_time 1618829570\n" uint8_t commands_count = 0; diff --git a/ampel-firmware/src/lib/IotWebConf/src/IotWebConf.cpp b/ampel-firmware/src/lib/IotWebConf/src/IotWebConf.cpp index bbf1b960e83a2bf3ec87af2555a76b4251f31578..cacbf071cd16fcdd034942952cffc94344c8d8ec 100644 --- a/ampel-firmware/src/lib/IotWebConf/src/IotWebConf.cpp +++ b/ampel-firmware/src/lib/IotWebConf/src/IotWebConf.cpp @@ -99,6 +99,7 @@ bool IotWebConf::init() WiFi.setHostname(this->_thingName); #endif #ifdef IOTWEBCONF_CONFIG_USE_MDNS + //TODO: What is _thingName set to at this point?? MDNS.begin(this->_thingName); MDNS.addService("http", "tcp", IOTWEBCONF_CONFIG_USE_MDNS); #endif