cuspaceflight / cuspaceflight/avionics14

Race condition fix probably worse than cure

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

https://github.com/cuspaceflight/avionics14/blob/master/firmware/adxl3x5.c#L282-L286

Looks like we lock before sleeping and hold the lock until we wake up from timeout. Should be enough to just have the interrupt check the thread it has a handle on is not already awake.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.