mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 04:40:48 +03:00
ancien SSD132x bug with non-inverted display
This commit is contained in:
@@ -233,7 +233,7 @@ static void SetLayout( struct GDS_Device* Device, struct GDS_Layout *Layout ) {
|
|||||||
}
|
}
|
||||||
Device->WriteCommand( Device, 0xA0 );
|
Device->WriteCommand( Device, 0xA0 );
|
||||||
Device->WriteCommand( Device, Private->ReMap );
|
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 ); }
|
static void DisplayOn( struct GDS_Device* Device ) { Device->WriteCommand( Device, 0xAF ); }
|
||||||
|
|||||||
Reference in New Issue
Block a user