bugfix ledmatrixdisplay (missing break page flip)

This commit is contained in:
Verkehrsrot 2019-07-15 22:19:06 +02:00
parent 37c3faad8c
commit 1a4dba3b46

View File

@ -21,9 +21,9 @@ uint8_t displaybuf[LED_MATRIX_WIDTH * LED_MATRIX_HEIGHT / NUMCHARS];
// --- SELECT YOUR FONT HERE --- // --- SELECT YOUR FONT HERE ---
const FONT_INFO *ActiveFontInfo = &digital7_18ptFontInfo; const FONT_INFO *ActiveFontInfo = &digital7_18ptFontInfo;
//const FONT_INFO *ActiveFontInfo = &arialNarrow_17ptFontInfo; // const FONT_INFO *ActiveFontInfo = &arialNarrow_17ptFontInfo;
//const FONT_INFO *ActiveFontInfo = &gillSansMTCondensed_18ptFontInfo; // const FONT_INFO *ActiveFontInfo = &gillSansMTCondensed_18ptFontInfo;
//const FONT_INFO *ActiveFontInfo = &gillSansMTCondensed_16ptFontInfo; // const FONT_INFO *ActiveFontInfo = &gillSansMTCondensed_16ptFontInfo;
const uint8_t *iaActiveFont = ActiveFontInfo->Bitmap; const uint8_t *iaActiveFont = ActiveFontInfo->Bitmap;
const FONT_CHAR_INFO *ActiveFontCharInfo = ActiveFontInfo->Descriptors; const FONT_CHAR_INFO *ActiveFontCharInfo = ActiveFontInfo->Descriptors;
@ -68,6 +68,7 @@ void refreshTheMatrixDisplay(bool nextPage) {
matrix.clear(); matrix.clear();
DrawNumber(String(ulLastNumMacs)); DrawNumber(String(ulLastNumMacs));
} }
break;
case 1: case 1:
@ -79,6 +80,7 @@ void refreshTheMatrixDisplay(bool nextPage) {
second(t)); second(t));
DrawNumber(String(buff)); DrawNumber(String(buff));
} }
break;
} // switch page } // switch page