From 13e4b41c1e72b3aa0a5d99f60e7c50f9e130f84f Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Thu, 10 Dec 2015 16:15:18 -0800 Subject: [PATCH] Trivial clean-up. --- firmware/baseband/main.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index 97895fcf..c003b648 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -106,13 +106,8 @@ static void init() { rf::rssi::init(); touch::dma::init(); - const auto thread_main = chThdSelf(); - - const auto thread_rssi = rssi_thread.start(NORMALPRIO + 10); - - baseband_thread.thread_main = thread_main; - baseband_thread.thread_rssi = thread_rssi; - + baseband_thread.thread_main = chThdSelf(); + baseband_thread.thread_rssi = rssi_thread.start(NORMALPRIO + 10); baseband_thread.start(NORMALPRIO + 20); }