Since the core now runs with 72MHz, we have to adjust the timer value. Signed-off-by: Michael Walle <mich...@walle.cc> --- softusb-input/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/softusb-input/main.c b/softusb-input/main.c index d4eba03..b371166 100644 --- a/softusb-input/main.c +++ b/softusb-input/main.c @@ -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(); -- 1.7.2.5 _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode