# HG changeset patch # User Paul Boddie # Date 1378826571 0 # Node ID 56a4dff8be0ab309f1d561e6ff95bd790b382be3 # Parent a4f6bb77805c7a4c899d5e1582d8f82b0bfa2fa5 Fixed the non-NanoNote timing and made the microsecond delay loop longer. diff -r a4f6bb77805c -r 56a4dff8be0a bsp.c --- a/bsp.c Mon May 27 22:41:55 2013 +0000 +++ b/bsp.c Tue Sep 10 15:22:51 2013 +0000 @@ -86,10 +86,10 @@ #ifndef NANONOTE struct timespec tv; tv.tv_sec = 0; - tv.tv_nsec = us * 100; + tv.tv_nsec = us * 1000; nanosleep(&tv, NULL); #else - uint64_t i = us * 24; + uint64_t i = us * 50; while (i--); #endif }