mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 05:57:05 +03:00
Start of 5.X work
This commit is contained in:
@@ -191,8 +191,8 @@ static const struct GDS_Device SSD1322 = {
|
||||
.Mode = GDS_GRAYSCALE, .Depth = 4,
|
||||
};
|
||||
|
||||
struct GDS_Device* SSD1322_Detect(sys_Display * Driver, struct GDS_Device* Device) {
|
||||
if(Driver->common.driver != sys_DisplayDriverEnum_SSD1322) return NULL;
|
||||
struct GDS_Device* SSD1322_Detect(sys_display_config * Driver, struct GDS_Device* Device) {
|
||||
if(Driver->common.driver != sys_display_drivers_SSD1322) return NULL;
|
||||
|
||||
if (!Device) Device = calloc(1, sizeof(struct GDS_Device));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user