mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-31 02:29:38 -04:00
Change baseband, RSSI threads to be more RAII.
This commit is contained in:
parent
2b7e763619
commit
f8a473d56b
6 changed files with 39 additions and 17 deletions
|
@ -54,9 +54,6 @@ Thread* EventDispatcher::thread_event_loop = nullptr;
|
|||
void EventDispatcher::run() {
|
||||
thread_event_loop = chThdSelf();
|
||||
|
||||
rssi_thread.start(NORMALPRIO + 10);
|
||||
baseband_thread.start(NORMALPRIO + 20);
|
||||
|
||||
lpc43xx::creg::m0apptxevent::enable();
|
||||
|
||||
while(is_running) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue