Fix wrong usage of udelay() in led_blink() on trab board
Patch by Martin Krause, 27 Oct 2005
This commit is contained in:
parent
3e9a299231
commit
b9fff8ee83
@ -2,6 +2,9 @@
|
||||
Changes since U-Boot 1.1.4:
|
||||
======================================================================
|
||||
|
||||
* Fix wrong usage of udelay() in led_blink() on trab board
|
||||
Patch by Martin Krause, 27 Oct 2005
|
||||
|
||||
* Fix udelay bug in vfd.c for trab board
|
||||
Patch by Martin Krause, 27 Oct 2005
|
||||
|
||||
|
@ -729,6 +729,7 @@ static void led_blink (void)
|
||||
|
||||
/* blink LED. This function does not return! */
|
||||
while (1) {
|
||||
reset_timer_masked ();
|
||||
led_set (1);
|
||||
udelay (1000000 / LED_BLINK_FREQ / 2);
|
||||
led_set (0);
|
||||
|
Loading…
Reference in New Issue
Block a user