adding SSD1675 driver

This commit is contained in:
philippe44
2020-02-29 22:23:34 -08:00
parent 2d0eac5aee
commit 9759c0dbef
8 changed files with 287 additions and 28 deletions

View File

@@ -143,7 +143,7 @@ struct GDS_Device* SH1106_Detect(char *Driver, struct GDS_Device* Device) {
if (!strcasestr(Driver, "SH1106")) return NULL;
if (!Device) Device = calloc(1, sizeof(struct GDS_Device));
*Device = SH1106;
*Device = SH1106;
Device->Depth = 1;
#if !defined SHADOW_BUFFER && defined USE_IRAM
Device->Alloc = GDS_ALLOC_IRAM_SPI;