fix incorrect enum definition (does not compile on xr809)

This commit is contained in:
openshwprojects
2022-02-12 17:35:32 +01:00
parent 7da9528431
commit ce212c4ebd

View File

@@ -30,7 +30,7 @@ extern int direct_serial_log;
#define DEFAULT_DIRECT_SERIAL_LOG 0
//#define DEFAULT_DIRECT_SERIAL_LOG 1
enum {
typedef enum {
LOG_NONE = 0,
LOG_ERROR = 1,
LOG_WARN = 2,
@@ -40,7 +40,7 @@ enum {
LOG_MAX = 6
} log_levels;
enum {
typedef enum {
LOG_FEATURE_HTTP = 0,
LOG_FEATURE_MQTT = 1,
LOG_FEATURE_CFG = 2,