We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc0cf96 commit 5045930Copy full SHA for 5045930
examples/driver_lib/driver/hw_timer.c
@@ -27,7 +27,7 @@
27
#define US_TO_RTC_TIMER_TICKS(t) \
28
((t) ? \
29
(((t) > 0x35A) ? \
30
- (((t) >> 2) * ((APB_CLK_FREQ >> 4) / 250000) + ((t)&0x3) * ((APB_CLK_FREQ >> 4) / 1000000)) : s\
+ (((t) >> 2) * ((APB_CLK_FREQ >> 4) / 250000) + ((t)&0x3) * ((APB_CLK_FREQ >> 4) / 1000000)) : \
31
(((t) *(APB_CLK_FREQ>>4)) / 1000000)) : \
32
0)
33
0 commit comments