Trivial clean-up.

This commit is contained in:
Jared Boone 2015-12-10 16:15:18 -08:00
parent 255c568f9e
commit 13e4b41c1e

View File

@ -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);
} }