From 1fb0a1fd50385874db6471f48462f252a78d9f2e Mon Sep 17 00:00:00 2001 From: Mirko Scholz Date: Fri, 4 Sep 2020 23:02:46 +0200 Subject: [PATCH] row/col should be always less than 16 --- src/lcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lcd.c b/src/lcd.c index 6de9b7b..e9160d2 100644 --- a/src/lcd.c +++ b/src/lcd.c @@ -43,7 +43,7 @@ -static int row, col; +static uint8_t row, col; #define CLEAR_BIT(port, bit) (port &= ~(_BV(bit))) #define CLEAR_BITS(port, bits) (port &= ~(bits))