From 5e9fb046ab8a860abdd8ee313eb220dc96822210 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Fri, 19 Feb 2021 10:46:58 +0000 Subject: [PATCH] Update comments --- LCDDisplay.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/LCDDisplay.cpp b/LCDDisplay.cpp index ae5e245..6f18938 100644 --- a/LCDDisplay.cpp +++ b/LCDDisplay.cpp @@ -60,14 +60,14 @@ LCDDisplay *LCDDisplay::loop2(bool force) do { if (bptr == 0) { - // No pending write, so go and look for one. + // Find a line of data to write to the screen. if (!done) { if (rowFirst < 0) rowFirst = rowNext; // Skip blank rows while (rowBuffer[rowNext][0] == 0) { rowNext = (rowNext + 1) % MAX_LCD_ROWS; if (rowNext == rowFirst) { - done = true; + done = true; // All lines done break; } } @@ -104,7 +104,7 @@ LCDDisplay *LCDDisplay::loop2(bool force) } if (slot >= lcdRows) { - // Last slot done, reset ready for next update. + // Last slot finished, reset ready for next update. slot = 0; done = false; rowFirst = -1;