File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ extern "C" {
56
56
*
57
57
* @note
58
58
* If the RTOS is present, this function spins to get the exact number of microseconds for
59
- * usec precision upto 10msec . If delay is larger then 10msec and not in ISR, it is same as
60
- * `wait_ms`. `wait_us` and `wait_ms` are recommended over `wait`
59
+ * microsecond precision up to 10 milliseconds . If delay is larger than 10 milliseconds and not in ISR, it is the same as
60
+ * `wait_ms`. We recommend `wait_us` and `wait_ms` over `wait`.
61
61
*/
62
62
void wait (float s );
63
63
@@ -77,8 +77,8 @@ void wait_ms(int ms);
77
77
*
78
78
* @note
79
79
* This function always spins to get the exact number of microseconds.
80
- * If RTOS is present, this will affect power (prevents deep sleep) and
81
- * multithread performance, hence spinning for milli-sec wait is not recommended.
80
+ * If RTOS is present, this will affect power (by preventing deep sleep) and
81
+ * multithread performance. Therefore, spinning for millisecond wait is not recommended.
82
82
*/
83
83
void wait_us (int us );
84
84
You can’t perform that action at this time.
0 commit comments