Permalink
Browse files

softusb-input: adjust SOF timer

Since the core now runs with 72MHz, we have to adjust the timer value.

Signed-off-by: Michael Walle <michael@walle.cc>
  • Loading branch information...
1 parent 275ff14 commit 4106553c9b3db8c73e8da0073de240878b555fb8 @mwalle mwalle committed with sbourdeauducq Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 softusb-input/main.c
View
@@ -906,7 +906,7 @@ int main(void)
wio8(TIMER0, 0);
while(1) {
/* wait for the next frame */
- while((rio8(TIMER1) < 0xbb) || (rio8(TIMER0) < 0x70));
+ while((rio8(TIMER2) < 0x01) || (rio8(TIMER1) < 0xbb) || (rio8(TIMER0) < 0x70));
wio8(TIMER0, 0);
sof();

0 comments on commit 4106553

Please sign in to comment.