Remove test code.

This commit is contained in:
Jared Boone 2015-08-04 13:52:04 -07:00
parent eea589bd98
commit de0c884b67

View File

@ -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; static constexpr auto direction = baseband::Direction::Receive;
int main(void) { 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(); init();
events_initialize(chThdSelf()); events_initialize(chThdSelf());
@ -873,6 +859,6 @@ int main(void) {
const auto events = event_dispatcher.wait(); const auto events = event_dispatcher.wait();
event_dispatcher.dispatch(events); event_dispatcher.dispatch(events);
} }
#endif
return 0; return 0;
} }