Skip to content

Commit

Permalink
Disable displayFit debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasFarstrike committed Mar 30, 2024
1 parent 059fa92 commit e4c3d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/Display.ino
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ int displayFit(String text, int startX, int startY, int endX, int endY, int font
// bool bold == true means black background, white text
// returns: the y position after fitting the text
int displayFit(String text, int startXbig, int startYbig, int endXbig, int endYbig, int fontSize, bool invert, bool alignRight) {
bool debugDisplayFit = true;
bool debugDisplayFit = false;
feed_watchdog(); // before this long-running and potentially hanging operation, it's a good time to feed the watchdog

text.replace("~","-");
Expand Down

0 comments on commit e4c3d21

Please sign in to comment.