Commit d93efab8 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] DDB5477: Fix unused variable warning.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 16212017
...@@ -55,7 +55,7 @@ void lcd44780_data(unsigned char c) ...@@ -55,7 +55,7 @@ void lcd44780_data(unsigned char c)
void lcd44780_puts(const char* s) void lcd44780_puts(const char* s)
{ {
int i,j; int j;
int pos = 0; int pos = 0;
lcd44780_command(LCD44780_CLEAR); lcd44780_command(LCD44780_CLEAR);
...@@ -76,8 +76,12 @@ void lcd44780_puts(const char* s) ...@@ -76,8 +76,12 @@ void lcd44780_puts(const char* s)
} }
} }
#ifdef LCD44780_PUTS_PAUSE #ifdef LCD44780_PUTS_PAUSE
for(i = 1; i < 2000; i++) {
lcd44780_wait(); int i;
for(i = 1; i < 2000; i++)
lcd44780_wait();
}
#endif #endif
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment