From e4c3d21527349b2372b83a24201dcb8eb093c011 Mon Sep 17 00:00:00 2001 From: Thomas Farstrike Date: Sat, 30 Mar 2024 13:57:14 +0100 Subject: [PATCH] Disable displayFit debugging --- Main/Display.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main/Display.ino b/Main/Display.ino index 49b611f..fd33236 100644 --- a/Main/Display.ino +++ b/Main/Display.ino @@ -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("~","-");