File tree Expand file tree Collapse file tree
firmware/foamer-display/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,18 +232,13 @@ void loop() {
232232
233233 JsonArray routes = globalDoc[" routes" ];
234234
235- Serial.print (" Current route index: " );
236- Serial.println (currentRouteIndex);
237-
238235 // Clear screen and reset cursor
239236 display->fillScreen (0 );
240237 display->setCursor (0 , 0 );
241238 display->setTextColor (display->color565 (255 , 255 , 255 ));
242239
243240 // Display two routes starting from currentRouteIndex
244241 for (int i = 0 ; i < 2 && (currentRouteIndex + i) < totalRoutes; i++) {
245- Serial.print (" displaying route index " );
246- Serial.println (currentRouteIndex + i);
247242 JsonObject route = routes[currentRouteIndex + i];
248243 displayRoute (display, route);
249244 }
@@ -256,8 +251,6 @@ void loop() {
256251
257252 // Loop back to start when we reach the end
258253 if (currentRouteIndex >= totalRoutes) {
259- Serial.println (
260- " Completed full cycle, will fetch fresh data on next iteration" );
261254 currentRouteIndex = 0 ;
262255 }
263256}
You can’t perform that action at this time.
0 commit comments