mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix typo in api/mqtt command restart [partition]
This commit is contained in:
@@ -1553,7 +1553,7 @@ bool System::load_board_profile(std::vector<int8_t> & data, const std::string &
|
||||
|
||||
// restart command - perform a hard reset
|
||||
bool System::command_restart(const char * value, const int8_t id) {
|
||||
if (value != nullptr && value[0] == '\0') {
|
||||
if (value != nullptr && value[0] != '\0') {
|
||||
EMSESP::system_.system_restart(value);
|
||||
} else {
|
||||
EMSESP::system_.system_restart();
|
||||
|
||||
Reference in New Issue
Block a user