Skip to content

Commit

Permalink
code fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
richonguzman committed Dec 19, 2024
1 parent da2abf0 commit 4aaf5de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/display.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,13 @@ void displayShow(const String& header, const String& line1, const String& line2,
display.clearDisplay();
#ifdef ssd1306
display.setTextColor(WHITE);
display.drawLine(0, 16, 128, 16, WHITE);
display.drawLine(0, 17, 128, 17, WHITE);
#else
display.setTextColor(SH110X_WHITE);
display.drawLine(0, 16, 128, 16, SH110X_WHITE);
display.drawLine(0, 17, 128, 17, SH110X_WHITE);
#endif
display.drawLine(0, 16, 128, 16, WHITE);
display.drawLine(0, 17, 128, 17, WHITE);
display.setTextSize(2);
display.setCursor(0, 0);
display.println(header);
Expand Down
3 changes: 2 additions & 1 deletion variants/ttgo_t_deck_GPS/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ build_flags =
-D SPI_READ_FREQUENCY=16000000
lib_deps =
${common.lib_deps}
bodmer/TFT_eSPI @ 2.5.43
bodmer/TFT_eSPI @ 2.5.43
https://github.com/mmMicky/TouchLib.git

0 comments on commit 4aaf5de

Please sign in to comment.