Commit Graph

1 Commits (b03411c89f5821fe058d4b58c109f9a9fe21805f)

Author SHA1 Message Date
Bogdan Marinescu 1a1507ac78 Unification of wait functions
This commit adds two implementations for the mbed wait functions (wait,
wait_ms, wait_us):

- with the RTOS present, the wait functions will use `Thread::wait` for
  millisecond delays and a busy wait loop for sub-millisecond delays.
- with the RTOS not present, the wait functions will always use a busy
  wait loop.
2016-07-27 17:30:59 +03:00