Преглед на файлове

ancien SSD132x bug with non-inverted display

philippe44 преди 1 година
родител
ревизия
eb458564c7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      components/display/SSD132x.c

+ 1 - 1
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 ); }