resize/remove unused variables in lcd.c
This commit is contained in:
parent
774be02e1f
commit
380b90d434
@ -117,7 +117,7 @@ static char readBusy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void wait_busy() {
|
static void wait_busy() {
|
||||||
unsigned int i;
|
uint8_t i;
|
||||||
for (i = 0; i < 100; i++){
|
for (i = 0; i < 100; i++){
|
||||||
if (!readBusy()){
|
if (!readBusy()){
|
||||||
return;
|
return;
|
||||||
@ -129,7 +129,6 @@ static void wait_busy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void LCD_OutChar(unsigned char c) {
|
static void LCD_OutChar(unsigned char c) {
|
||||||
unsigned char lower = (c & 0x0f);
|
|
||||||
DISABLE_INTERRUPTS();
|
DISABLE_INTERRUPTS();
|
||||||
wait_busy();
|
wait_busy();
|
||||||
//output upper 4 bits:
|
//output upper 4 bits:
|
||||||
|
Loading…
Reference in New Issue
Block a user