cuspaceflight / cuspaceflight/avionics14
Race condition fix probably worse than cure
Open
- 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.