diff --git a/esp3d/src/core/espcmd/ESP401.cpp b/esp3d/src/core/espcmd/ESP401.cpp index 0d130b0d..d0e8bde7 100644 --- a/esp3d/src/core/espcmd/ESP401.cpp +++ b/esp3d/src/core/espcmd/ESP401.cpp @@ -58,13 +58,13 @@ bool Commands::ESP401(const char* cmd_params, level_authenticate_type auth_type, if (spos.length() == 0) { response = false; } - if (! (styp == "B" || styp == "S" || styp == "A" || styp == "I" || styp == "F") ) { + if (! (styp == "B" || styp == "S" || styp == "A" || styp == "I") ) { response = false; } if (response) { //Byte value - if ((styp == "B") || (styp == "F")) { + if (styp == "B") { if (!Settings_ESP3D::write_byte (spos.toInt(), sval.toInt())) { response = false; } else { diff --git a/esp3d/src/core/settings_esp3d.cpp b/esp3d/src/core/settings_esp3d.cpp index 9374e8f0..76dd853e 100644 --- a/esp3d/src/core/settings_esp3d.cpp +++ b/esp3d/src/core/settings_esp3d.cpp @@ -255,23 +255,10 @@ uint8_t Settings_ESP3D::get_default_byte_value(int pos) res = DEFAULT_STA_IP_MODE; break; #endif //WIFI_FEATURE || ETH_FEATURE - //case ESP_AP_PHY_MODE: - //case ESP_STA_PHY_MODE: - // res = DEFAULT_PHY_MODE; - // break; - //case ESP_SLEEP_MODE: - // res = DEFAULT_SLEEP_MODE; - // break; #if defined (WIFI_FEATURE) case ESP_AP_CHANNEL: res = DEFAULT_AP_CHANNEL; break; - //case ESP_AP_AUTH_TYPE: - // res = DEFAULT_AUTH_TYPE; - // break; - //case ESP_SSID_VISIBLE: - // res = DEFAULT_SSID_VISIBLE; - // break; #endif //WIFI_FEATURE case ESP_SERIAL_FLAG: res = DEFAULT_SERIAL_OUTPUT_FLAG;