mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
comments, fix typos, prep for v3.2
This commit is contained in:
@@ -45,13 +45,13 @@ enum CommandFlag : uint8_t {
|
||||
|
||||
};
|
||||
|
||||
// returns 0 if the command errored, 1 (TRUE) if ok, 2 if not found, 3 if error or 4 if not allowed
|
||||
enum CommandRet: uint8_t {
|
||||
// return status after calling a Command
|
||||
enum CommandRet : uint8_t {
|
||||
ERRORED = 0,
|
||||
OK,
|
||||
NOT_FOUND,
|
||||
ERROR,
|
||||
NOT_ALLOWED
|
||||
OK, // 1 or TRUE
|
||||
NOT_FOUND, // 2
|
||||
ERROR, // 3
|
||||
NOT_ALLOWED // needs authentication
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user