mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 04:40:48 +03:00
fix some compile issue & add TAS5713
This commit is contained in:
@@ -71,6 +71,7 @@ const display_config_t * config_display_get(){
|
||||
if ((p = strcasestr(config, "speed")) != NULL) dstruct.speed = atoi(strchr(p, '=') + 1);
|
||||
dstruct.hflip= strcasestr(config, "HFlip") ? true : false;
|
||||
dstruct.vflip= strcasestr(config, "VFlip") ? true : false;
|
||||
dstruct.rotate= strcasestr(config, "rotate") ? true : false;
|
||||
return &dstruct;
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ typedef struct {
|
||||
char *type;
|
||||
bool hflip;
|
||||
bool vflip;
|
||||
bool rotate;
|
||||
} display_config_t;
|
||||
const display_config_t * config_display_get();
|
||||
esp_err_t config_i2c_set(const i2c_config_t * config, int port);
|
||||
|
||||
Reference in New Issue
Block a user