diff options
author | Felix Erckenbrecht <dg1yfe@stus-disco.de> | 2020-07-31 09:09:19 +0200 |
---|---|---|
committer | Felix Erckenbrecht <dg1yfe@stus-disco.de> | 2020-07-31 09:09:19 +0200 |
commit | 4518a583dd2716aca9c64d0541df2946c09cf50c (patch) | |
tree | 715f352cca51578296356494b713efb6d8f9743d /src | |
parent | 5a69084b90a8582ed33e06967441885903d67e08 (diff) | |
download | osmo-fl2k-4518a583dd2716aca9c64d0541df2946c09cf50c.tar.gz osmo-fl2k-4518a583dd2716aca9c64d0541df2946c09cf50c.tar.bz2 osmo-fl2k-4518a583dd2716aca9c64d0541df2946c09cf50c.zip |
Make shared variable volatile
Diffstat (limited to 'src')
-rw-r--r-- | src/fl2k_iq.c | 3 |
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; |