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) static void delay_loop(void) { unsigned long x; - for (x = (unsigned)(FREQ>>23); x; x--); + for (x = (unsigned)(FREQ>>24); x; x--); } #define DELAY delay_loop()