From cf5eb891d77f90a76e79ba1124c208f44184ab14 Mon Sep 17 00:00:00 2001 From: Neil McKechnie Date: Fri, 19 Feb 2021 15:44:36 +0000 Subject: [PATCH] Type lcdCols and lcdRows to unsigned. Since lcdCols is normally 128, it needs to be uint8_t, not int8_t. --- LCDDisplay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LCDDisplay.h b/LCDDisplay.h index d667dcd..b9700f7 100644 --- a/LCDDisplay.h +++ b/LCDDisplay.h @@ -55,8 +55,8 @@ class LCDDisplay : public Print { int8_t hotRow=0; int8_t hotCol=0; int8_t topRow=0; - int8_t lcdRows; - int8_t lcdCols; + uint8_t lcdRows; + uint8_t lcdCols; int8_t slot=0; int8_t rowFirst=-1; int8_t rowNext=0;