mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +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
|
// restart command - perform a hard reset
|
||||||
bool System::command_restart(const char * value, const int8_t id) {
|
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);
|
EMSESP::system_.system_restart(value);
|
||||||
} else {
|
} else {
|
||||||
EMSESP::system_.system_restart();
|
EMSESP::system_.system_restart();
|
||||||
|
|||||||
Reference in New Issue
Block a user