From 9e40822f4bbb40a1a7fc06b058f278738a23bf3b Mon Sep 17 00:00:00 2001 From: "Stephen Hicks, N5AC" Date: Tue, 21 Oct 2014 11:34:46 -0500 Subject: [PATCH] adding comments --- DSP_API/SmartSDR_Interface/smartsdr_dsp_api.c | 1 + DSP_API/SmartSDR_Interface/traffic_cop.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/DSP_API/SmartSDR_Interface/smartsdr_dsp_api.c b/DSP_API/SmartSDR_Interface/smartsdr_dsp_api.c index beb805c..bf20d2c 100644 --- a/DSP_API/SmartSDR_Interface/smartsdr_dsp_api.c +++ b/DSP_API/SmartSDR_Interface/smartsdr_dsp_api.c @@ -122,6 +122,7 @@ void SmartSDR_API_Init(void) // Start the console thread #ifdef CONSOLE_THREAD pthread_create(&_console_thread_ID, NULL, &_console_thread, NULL); +#endif // wait for the console to print out all it's stuff sem_wait(&_startup_sem); diff --git a/DSP_API/SmartSDR_Interface/traffic_cop.c b/DSP_API/SmartSDR_Interface/traffic_cop.c index 3ca84d3..7548d8c 100644 --- a/DSP_API/SmartSDR_Interface/traffic_cop.c +++ b/DSP_API/SmartSDR_Interface/traffic_cop.c @@ -350,7 +350,7 @@ static void* _tc_thread(void* arg) // if this fails, the program just exits _tc_openSocket(); - // loop recieving data from SmartSDR and sending it where it should go + // loop receiving data from SmartSDR and sending it where it should go while (!_abort) { result = _get_command();