From eb458564c78100d8a47dca6cdf744f66483a5cc0 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Wed, 16 Aug 2023 01:06:49 -0700 Subject: [PATCH] ancien SSD132x bug with non-inverted display --- components/display/SSD132x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/display/SSD132x.c b/components/display/SSD132x.c index 57cd87fb..28df964c 100644 --- a/components/display/SSD132x.c +++ b/components/display/SSD132x.c @@ -233,7 +233,7 @@ static void SetLayout( struct GDS_Device* Device, struct GDS_Layout *Layout ) { } Device->WriteCommand( Device, 0xA0 ); Device->WriteCommand( Device, Private->ReMap ); - Device->WriteCommand( Device, Layout->Invert ? 0xA7 : 0xA6 ); + Device->WriteCommand( Device, Layout->Invert ? 0xA7 : 0xA4 ); } static void DisplayOn( struct GDS_Device* Device ) { Device->WriteCommand( Device, 0xAF ); }