From 380b90d434b6e2cb4b56400882237910259e27af Mon Sep 17 00:00:00 2001 From: Jeff Wang Date: Sat, 30 Jan 2021 22:16:06 -0500 Subject: [PATCH] resize/remove unused variables in lcd.c --- src/lcd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lcd.c b/src/lcd.c index 278df08..57ebf3b 100644 --- a/src/lcd.c +++ b/src/lcd.c @@ -117,7 +117,7 @@ static char readBusy() { } static void wait_busy() { - unsigned int i; + uint8_t i; for (i = 0; i < 100; i++){ if (!readBusy()){ return; @@ -129,7 +129,6 @@ static void wait_busy() { } static void LCD_OutChar(unsigned char c) { - unsigned char lower = (c & 0x0f); DISABLE_INTERRUPTS(); wait_busy(); //output upper 4 bits: