mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-08 20:47:08 +03:00
fixed backlite
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user