
Also while here fix the delay loop used before timers are enabled to cause a delay, by using a volatile int to do a countdown. gcc has become intelligent enough to optimize an empty loop away. For delay on PXA270 we should use one of the other counters, and a 1Mhz clock, so that we don't have to computer the counter increment. XXX: also looks like there's a bug if the counter wraps, as delay doesn't look like it allows for that.
…
…
…
…
…
…
…
…
…
…
…
…
…
Description
No description provided
Languages
C
85.3%
Roff
7.2%
Assembly
3.1%
Shell
1.7%
Makefile
1.2%
Other
0.9%