fixed backlite

This commit is contained in:
Wizmo2
2022-11-26 20:20:48 -05:00
parent e5eabcaf86
commit c1375444b4

View File

@@ -489,6 +489,7 @@ const display_config_t * config_display_get(){
PARSE_PARAM(config, "address", '=', dstruct.address); PARSE_PARAM(config, "address", '=', dstruct.address);
PARSE_PARAM(config, "cs", '=', dstruct.CS_pin); PARSE_PARAM(config, "cs", '=', dstruct.CS_pin);
PARSE_PARAM(config, "speed", '=', dstruct.speed); PARSE_PARAM(config, "speed", '=', dstruct.speed);
PARSE_PARAM(config, "back", '=', dstruct.back);
PARSE_PARAM(config, "mode", '=', dstruct.mode); PARSE_PARAM(config, "mode", '=', dstruct.mode);
if (strstr(config, "I2C") ) dstruct.type=i2c_name_type; if (strstr(config, "I2C") ) dstruct.type=i2c_name_type;