From 771b6bb3cd710f16afe41565b05f66d7f2242f0c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Fri, 11 Nov 2005 11:15:41 +0000 Subject: [PATCH] --- yaml --- r: 14327 b: refs/heads/master c: d93efab838ee399b45379bd97b2812ecee84471b h: refs/heads/master i: 14325: f0f6481d8d82c4451cc0507cd0959ef5167b2cbc 14323: e2beeb68f90a94eb7ca6e16ec67594b974bfc47f 14319: e4bdebb1f661836dd87d86e06c130dd5b7cb84f8 v: v3 --- [refs] | 2 +- trunk/arch/mips/ddb5xxx/ddb5477/lcd44780.c | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 849df49d9d3c..21f08ade5bd5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 16212017a54afdb702ecc796aaa0448b795de03b +refs/heads/master: d93efab838ee399b45379bd97b2812ecee84471b diff --git a/trunk/arch/mips/ddb5xxx/ddb5477/lcd44780.c b/trunk/arch/mips/ddb5xxx/ddb5477/lcd44780.c index 35c6c22610c5..9510b9ae6453 100644 --- a/trunk/arch/mips/ddb5xxx/ddb5477/lcd44780.c +++ b/trunk/arch/mips/ddb5xxx/ddb5477/lcd44780.c @@ -55,7 +55,7 @@ void lcd44780_data(unsigned char c) void lcd44780_puts(const char* s) { - int i,j; + int j; int pos = 0; lcd44780_command(LCD44780_CLEAR); @@ -76,8 +76,12 @@ void lcd44780_puts(const char* s) } } #ifdef LCD44780_PUTS_PAUSE - for(i = 1; i < 2000; i++) - lcd44780_wait(); + { + int i; + + for(i = 1; i < 2000; i++) + lcd44780_wait(); + } #endif }