Skip to content

Commit

Permalink
ancien SSD132x bug with non-inverted display
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Aug 16, 2023
1 parent 5d24995 commit eb45856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/display/SSD132x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ); }
Expand Down

0 comments on commit eb45856

Please sign in to comment.