mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 15:29:37 -05:00
Trivial clean-up.
This commit is contained in:
parent
255c568f9e
commit
13e4b41c1e
@ -106,13 +106,8 @@ static void init() {
|
|||||||
rf::rssi::init();
|
rf::rssi::init();
|
||||||
touch::dma::init();
|
touch::dma::init();
|
||||||
|
|
||||||
const auto thread_main = chThdSelf();
|
baseband_thread.thread_main = chThdSelf();
|
||||||
|
baseband_thread.thread_rssi = rssi_thread.start(NORMALPRIO + 10);
|
||||||
const auto thread_rssi = rssi_thread.start(NORMALPRIO + 10);
|
|
||||||
|
|
||||||
baseband_thread.thread_main = thread_main;
|
|
||||||
baseband_thread.thread_rssi = thread_rssi;
|
|
||||||
|
|
||||||
baseband_thread.start(NORMALPRIO + 20);
|
baseband_thread.start(NORMALPRIO + 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user