[MIPS] DDB5477: Fix unused variable warning.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2005-11-11 11:15:41 +00:00
parent 16212017a5
commit d93efab838

View file

@ -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)
} }
} }
#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
} }