Skip to content

Commit

Permalink
code cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Oct 29, 2024
1 parent 3c27e52 commit 1504bf5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ void displaySetup() {

if(display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
displayFound = true;
if (Config.display.turn180) {
display.setRotation(2);
}
if (Config.display.turn180) display.setRotation(2);
display.clearDisplay();
display.setTextColor(WHITE);
display.setTextSize(1);
Expand Down

0 comments on commit 1504bf5

Please sign in to comment.