Skip to content

Commit b6a2993

Browse files
ccli8adbridge
authored andcommitted
Enlarge LPTICKER_DELAY_TICKS for safe
On Nuvoton targets, lp_ticker_set_interrupt(...) needs around 3 lp-ticker ticks to take effect. It may miss when current tick and match tick are very close (see hal/LowPowerTickerWrapper.cpp). Enlarge LPTICKER_DELAY_TICKS to 4 from 3 to address this boundary case.
1 parent 7c48b44 commit b6a2993

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/targets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8841,7 +8841,7 @@
88418841
],
88428842
"macros_add": [
88438843
"MBED_FAULT_HANDLER_DISABLED",
8844-
"LPTICKER_DELAY_TICKS=3"
8844+
"LPTICKER_DELAY_TICKS=4"
88458845
],
88468846
"supported_toolchains": ["ARMC6", "GCC_ARM", "IAR"],
88478847
"config": {

0 commit comments

Comments
 (0)