2013-09-10 | Paul Boddie | raw files shortlog changelog graph | Fixed the non-NanoNote timing and made the microsecond delay loop longer. | |
bsp.c (file) |
1.1 --- a/bsp.c Mon May 27 22:41:55 2013 +0000 1.2 +++ b/bsp.c Tue Sep 10 15:22:51 2013 +0000 1.3 @@ -86,10 +86,10 @@ 1.4 #ifndef NANONOTE 1.5 struct timespec tv; 1.6 tv.tv_sec = 0; 1.7 - tv.tv_nsec = us * 100; 1.8 + tv.tv_nsec = us * 1000; 1.9 nanosleep(&tv, NULL); 1.10 #else 1.11 - uint64_t i = us * 24; 1.12 + uint64_t i = us * 50; 1.13 while (i--); 1.14 #endif 1.15 }