Configuration extended and some more LED code improvements
This commit is contained in:
@@ -35,6 +35,7 @@ struct ConfigDef {
|
||||
static const ConfigDef configdefs[] = {
|
||||
{"systemName", ConfigType::STRING, String("OBPkp61")},
|
||||
{"systemMode", ConfigType::CHAR, 'K'},
|
||||
{"nightMode", ConfigType::BOOL, false},
|
||||
{"logLevel", ConfigType::BYTE, uint8_t(4)},
|
||||
{"adminPassword", ConfigType::STRING, String("obpkp61")},
|
||||
{"useAdminPass", ConfigType::BOOL, true},
|
||||
@@ -49,6 +50,8 @@ static const ConfigDef configdefs[] = {
|
||||
{"cpuSpeed", ConfigType::SHORT, int16_t(160)},
|
||||
{"ledBrightness", ConfigType::SHORT, int16_t(96)},
|
||||
{"rgbBrightness", ConfigType::SHORT, int16_t(96)},
|
||||
{"buzEnable", ConfigType::BOOL, false},
|
||||
{"buzPower", ConfigType::BYTE, uint8_t(50)},
|
||||
{"tempFormat", ConfigType::CHAR, 'C'},
|
||||
{"switchBank", ConfigType::BYTE, uint8_t(0)},
|
||||
{"key1", ConfigType::BYTE, uint8_t(1)},
|
||||
@@ -63,6 +66,8 @@ static const ConfigDef configdefs[] = {
|
||||
{"key5long", ConfigType::BYTE, uint8_t(15)},
|
||||
{"key6", ConfigType::BYTE, uint8_t(6)},
|
||||
{"key6long", ConfigType::BYTE, uint8_t(16)},
|
||||
{"n2kSysInst", ConfigType::BYTE, uint8_t(0)},
|
||||
{"n2kDevInst", ConfigType::BYTE, uint8_t(0)},
|
||||
{"n2kDestA", ConfigType::STRING, String("none")},
|
||||
{"n2kDestB", ConfigType::STRING, String("none")},
|
||||
{"n2kDestC", ConfigType::STRING, String("none")},
|
||||
|
||||
Reference in New Issue
Block a user