mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
cleanup
This commit is contained in:
@@ -143,11 +143,7 @@ class Command {
|
||||
|
||||
static std::vector<CmdFunction> cmdfunctions_; // the list of commands
|
||||
|
||||
inline static uint8_t message(uint8_t error_code, const char * message, const JsonObject output) {
|
||||
output.clear();
|
||||
output["message"] = message;
|
||||
return error_code;
|
||||
}
|
||||
static uint8_t json_message(uint8_t error_code, const char * message, const JsonObject output);
|
||||
};
|
||||
|
||||
class SUrlParser {
|
||||
|
||||
Reference in New Issue
Block a user