Skip to content

Commit c9b2640

Browse files
author
James Wang
committed
mbed_wait_api: wait_ms() wait() wait_us() add "If the RTOS is present" comments
1 parent 27ce443 commit c9b2640

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/mbed_wait_api.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extern "C" {
5555
* @param s number of seconds to wait
5656
*
5757
* @note
58-
* This function always spins to get the exact number of microseconds,
58+
* If the RTOS is present, this function always spins to get the exact number of microseconds,
5959
* which potentially affects power (such as preventing deep sleep) and multithread performance.
6060
* You can avoid it by using Thread::wait().
6161
*/
@@ -66,7 +66,7 @@ void wait(float s);
6666
* @param ms the whole number of milliseconds to wait
6767
*
6868
* @note
69-
* This function always spins to get the exact number of microseconds,
69+
* If the RTOS is present, this function always spins to get the exact number of microseconds,
7070
* which potentially affects power (such as preventing deep sleep) and multithread performance.
7171
* You can avoid it by using Thread::wait().
7272
*/
@@ -77,7 +77,7 @@ void wait_ms(int ms);
7777
* @param us the whole number of microseconds to wait
7878
*
7979
* @note
80-
* This function always spins to get the exact number of microseconds,
80+
* If the RTOS is present, this function always spins to get the exact number of microseconds,
8181
* which potentially affects power (such as preventing deep sleep) and multithread performance.
8282
*/
8383
void wait_us(int us);

0 commit comments

Comments
 (0)