Unverified Commit 6c4e9ee6 authored by Leandro Mattioli's avatar Leandro Mattioli Committed by GitHub

fix(timer): Typo - milis instead of millis (#10193)

* fix(timer): Typo - milis instead of millis.

* fix(doc0: format

fix CI error about format

---------
Co-authored-by: default avatarRodrigo Garcia <rodrigo.garcia@espressif.com>
parent 00b3941d
......@@ -242,7 +242,7 @@ uint64_t timerReadMicros(hw_timer_t *timer) {
return timer_val * 1000000 / frequency;
}
uint64_t timerReadMilis(hw_timer_t *timer) {
uint64_t timerReadMillis(hw_timer_t *timer) {
if (timer == NULL) {
log_e("Timer handle is NULL");
return 0;
......
......@@ -42,7 +42,7 @@ void timerWrite(hw_timer_t *timer, uint64_t val);
uint64_t timerRead(hw_timer_t *timer);
uint64_t timerReadMicros(hw_timer_t *timer);
uint64_t timerReadMilis(hw_timer_t *timer);
uint64_t timerReadMillis(hw_timer_t *timer);
double timerReadSeconds(hw_timer_t *timer);
uint32_t timerGetFrequency(hw_timer_t *timer);
......
......@@ -119,14 +119,14 @@ This function is used to read counter value in microseconds of the timer.
This function will return ``counter value`` of the timer in microseconds.
timerReadMilis
**************
timerReadMillis
***************
This function is used to read counter value in milliseconds of the timer.
.. code-block:: arduino
uint64_t timerReadMilis(hw_timer_t * timer);
uint64_t timerReadMillis(hw_timer_t * timer);
* ``timer`` timer struct.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment