mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
James Cotton
5b2376dbee
Remove the semaphore for buffer swapping and make this occur during the receive
ISR. This leads to a possible condition where a copy is taking place in userspace and then a buffer swap interrupts it. However, the copy should always finish before the SPI DMA slave catches up to that place in memory at 10 MHz. This fixes a common condition where the userspace task (low priority) was not swapping buffers in time from user space and logs were corrupted.
Description
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Languages
C
60.6%
C++
30.8%
Fortran
2.6%
Rich Text Format
1.3%
Assembly
1.2%
Other
3.1%