Skip to content

[BH-1873] Update FreeRTOS ticks before re-enabling interrupts - #4729

Open
Lefucjusz wants to merge 1 commit into
masterfrom
fix_false_light_click_trigger
Open

[BH-1873] Update FreeRTOS ticks before re-enabling interrupts#4729
Lefucjusz wants to merge 1 commit into
masterfrom
fix_false_light_click_trigger

Conversation

@Lefucjusz

Copy link
Copy Markdown
Contributor

Fix of the issue that when leaving WFI mode
interrupts were being enabled before catching
up FreeRTOS ticks, what resulted in IRQ
handlers working on out-of-date system tick
counter.

Your checklist for this pull request

Make sure that this PR:

  • Complies with our guidelines for contributions
  • Has unit tests if possible
  • Has documentation updated
  • Has changelog entry added

@Lefucjusz
Lefucjusz force-pushed the fix_false_light_click_trigger branch 4 times, most recently from 7e1d80b to f5e84ea Compare February 5, 2024 19:50
Fix of the issue that when leaving WFI mode
interrupts were being enabled before catching
up FreeRTOS ticks, what resulted in IRQ
handlers working on out-of-date system tick
counter.
@Lefucjusz
Lefucjusz force-pushed the fix_false_light_click_trigger branch from f5e84ea to 7e6e69e Compare February 6, 2024 10:39
Comment thread module-sys/SystemManager/PowerManager.cpp
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.

4 participants