diff options
-rw-r--r-- | firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c b/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c index b41117c259..fcb2e7a4a9 100644 --- a/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c +++ b/firmware/target/arm/tcc780x/cowond2/lcd-cowond2.c | |||
@@ -77,7 +77,7 @@ void lcd_set_contrast(int val) | |||
77 | static void delay_loop(void) | 77 | static void delay_loop(void) |
78 | { | 78 | { |
79 | unsigned long x; | 79 | unsigned long x; |
80 | for (x = (unsigned)(FREQ>>23); x; x--); | 80 | for (x = (unsigned)(FREQ>>24); x; x--); |
81 | } | 81 | } |
82 | #define DELAY delay_loop() | 82 | #define DELAY delay_loop() |
83 | 83 | ||