diff --git a/include/ledmatrixdisplay.h b/include/ledmatrixdisplay.h index b7ec5a3b..b2863146 100644 --- a/include/ledmatrixdisplay.h +++ b/include/ledmatrixdisplay.h @@ -13,6 +13,6 @@ void refreshTheMatrixDisplay(bool nextPage = false); void DrawNumber(String strNum, uint8_t iDotPos = 0); uint8_t GetCharFromFont(char cChar); uint8_t GetCharWidth(char cChar); -void ScrollLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows); +void ScrollMatrixLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows); #endif \ No newline at end of file diff --git a/src/ledmatrixdisplay.cpp b/src/ledmatrixdisplay.cpp index 881f57fe..e33ea6e0 100644 --- a/src/ledmatrixdisplay.cpp +++ b/src/ledmatrixdisplay.cpp @@ -94,7 +94,7 @@ void refreshTheMatrixDisplay(bool nextPage) { if (col < (LED_MATRIX_WIDTH - 1)) col++; else - ScrollLeft(displaybuf, LED_MATRIX_WIDTH, LED_MATRIX_HEIGHT); + ScrollMatrixLeft(displaybuf, LED_MATRIX_WIDTH, LED_MATRIX_HEIGHT); } else matrix.drawPoint(col, row, 0); // clear current dot @@ -204,7 +204,7 @@ uint8_t GetCharWidth(char cChar) { return CharDescriptor.width; } -void ScrollLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows) { +void ScrollMatrixLeft(uint8_t *buf, const uint16_t cols, const uint16_t rows) { uint32_t i, k, idx; const uint32_t x = cols / 8;