Skip to content

Conversation

rgrover
Copy link
Contributor

@rgrover rgrover commented Oct 20, 2014

...ame time

Here's the main fix:

  • if (ticksToCount < APP_TIMER_MIN_TIMEOUT_TICKS) { /* Honour the minimum value of the timeout_ticks parameter of app_timer_start() */
  • ticksToCount = APP_TIMER_MIN_TIMEOUT_TICKS;
  • }

There is a limit on how close app_timers can be setup to fire one after another; and I was not respect these thresholds. This would get exposed when users would setup tickers to fire at nearly the same time.

@0xc0170
Copy link
Contributor

0xc0170 commented Oct 20, 2014

Hi,

does this fix #539 ? You can reference the issues from github via commit message, or name of the branch. It will be closed automatically once merged.

0xc0170 added a commit that referenced this pull request Oct 21, 2014
HAL: NRF51 - fix for the case where there are multiple tickers firing (issue #539)
@0xc0170 0xc0170 merged commit c62d8d4 into ARMmbed:master Oct 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants