aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fl2k_iq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fl2k_iq.c b/src/fl2k_iq.c
index 9ca0fd7..64a8416 100644
--- a/src/fl2k_iq.c
+++ b/src/fl2k_iq.c
@@ -58,7 +58,7 @@
#define BASEBAND_BUF_SIZE 2048
fl2k_dev_t *dev = NULL;
-int do_exit = 0;
+volatile int do_exit = 0;
pthread_t iq_thread;
pthread_mutex_t cb_mutex;
@@ -308,6 +308,7 @@ static inline complex double modulate_sample_iq(const int lastwritepos, const co
return amp;
}
+
void iq_modulator()
{
unsigned int i;