Skip to content

Commit 37b355c

Browse files
committed
Reduce serial logging
1 parent 98e977f commit 37b355c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

firmware/foamer-display/src/main.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)