Skip to content

Commit 5045930

Browse files
author
Espressif Systems
committed
fix a mistake in hw_time.c;
1 parent bc0cf96 commit 5045930

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/driver_lib/driver/hw_timer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#define US_TO_RTC_TIMER_TICKS(t) \
2828
((t) ? \
2929
(((t) > 0x35A) ? \
30-
(((t) >> 2) * ((APB_CLK_FREQ >> 4) / 250000) + ((t)&0x3) * ((APB_CLK_FREQ >> 4) / 1000000)) : s\
30+
(((t) >> 2) * ((APB_CLK_FREQ >> 4) / 250000) + ((t)&0x3) * ((APB_CLK_FREQ >> 4) / 1000000)) : \
3131
(((t) *(APB_CLK_FREQ>>4)) / 1000000)) : \
3232
0)
3333

0 commit comments

Comments
 (0)