proj raimes sinal acqusition for biomedical signals
Fork of mbed-rtos by
Revision 39:2f8c855ce969, committed 2014-07-16
- Comitter:
- mbn12
- Date:
- Wed Jul 16 18:23:30 2014 +0000
- Parent:
- 38:ff95651f53c7
- Child:
- 40:18e4d95a7d99
- Commit message:
- RTOS timer thread modified to count in micro seconds
Changed in this revision
| rtx/rt_CMSIS.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/rtx/rt_CMSIS.c Fri Jul 11 10:00:30 2014 +0100 +++ b/rtx/rt_CMSIS.c Wed Jul 16 18:23:30 2014 +0000 @@ -403,7 +403,8 @@ if (millisec == osWaitForever) return 0xFFFF; // Indefinite timeout if (millisec > 4000000) return 0xFFFE; // Max ticks supported - tick = ((1000 * millisec) + os_clockrate - 1) / os_clockrate; +//tick = ((1000 * millisec) + os_clockrate - 1) / os_clockrate; + tick = ((1 * millisec) + os_clockrate - 1) / os_clockrate; // 0.001 ms (us) if (tick > 0xFFFE) return 0xFFFE; return tick;
