From de0c884b675d910ae595d97f001b89cafa289723 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 4 Aug 2015 13:52:04 -0700 Subject: [PATCH] Remove test code. --- firmware/baseband/main.cpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index 5e2e0df0..0c2eb866 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -783,23 +783,9 @@ CH_IRQ_HANDLER(MAPP_IRQHandler) { } -//#define TEST_DSP 1 - -#if defined(TEST_DSP) -#include "test_dsp.h" -#endif - static constexpr auto direction = baseband::Direction::Receive; int main(void) { - -#if defined(TEST_DSP) - static TestResultsMessage test_results_message; - test_results_message.results = test_dsp(); - application_queue.push(&test_results_message); - while(1); -#else - init(); events_initialize(chThdSelf()); @@ -873,6 +859,6 @@ int main(void) { const auto events = event_dispatcher.wait(); event_dispatcher.dispatch(events); } -#endif + return 0; }