mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-02 09:30:43 +09:00
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:
|
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
|
* Fix udelay bug in vfd.c for trab board
|
||||||
Patch by Martin Krause, 27 Oct 2005
|
Patch by Martin Krause, 27 Oct 2005
|
||||||
|
|
||||||
|
@ -729,6 +729,7 @@ static void led_blink (void)
|
|||||||
|
|
||||||
/* blink LED. This function does not return! */
|
/* blink LED. This function does not return! */
|
||||||
while (1) {
|
while (1) {
|
||||||
|
reset_timer_masked ();
|
||||||
led_set (1);
|
led_set (1);
|
||||||
udelay (1000000 / LED_BLINK_FREQ / 2);
|
udelay (1000000 / LED_BLINK_FREQ / 2);
|
||||||
led_set (0);
|
led_set (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user