dm9501 is not a RMII + CS delay option for displays

This commit is contained in:
Philippe G
2022-01-01 17:56:51 -08:00
parent 25249ce13e
commit 7bf1ede250
3 changed files with 21 additions and 2 deletions

View File

@@ -140,6 +140,7 @@ static const struct GDS_Device SH1106 = {
.SetLayout = SetLayout,
.Update = Update, .Init = Init,
.Depth = 1,
.CS_post = 2,
#if !defined SHADOW_BUFFER && defined USE_IRAM
.Alloc = GDS_ALLOC_IRAM_SPI;
#endif

View File

@@ -86,6 +86,7 @@ struct GDS_Device {
struct {
spi_device_handle_t SPIHandle;
int8_t CSPin;
int8_t CS_pre, CS_post, SPI_mode;
};
};