code cleaning
This commit is contained in:
parent
3c27e52df7
commit
1504bf5a7f
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue