mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 09:07:17 -04:00
Extract BufferExchange, simplify threading.
This commit is contained in:
parent
84334ef818
commit
5dfb53263a
6 changed files with 161 additions and 81 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include "irq_controls.hpp"
|
||||
|
||||
#include "capture_thread.hpp"
|
||||
#include "buffer_exchange.hpp"
|
||||
|
||||
#include "ch.h"
|
||||
|
||||
|
@ -48,7 +48,7 @@ CH_IRQ_HANDLER(M4Core_IRQHandler) {
|
|||
CH_IRQ_PROLOGUE();
|
||||
|
||||
chSysLockFromIsr();
|
||||
CaptureThread::check_fifo_isr();
|
||||
BufferExchange::handle_isr();
|
||||
EventDispatcher::check_fifo_isr();
|
||||
chSysUnlockFromIsr();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue