| 13 | #define SDR_DEVICE_LOST (-666) |
| 14 | |
| 15 | SDRThread::SDRThread() : IOThread(), buffers("SDRThreadBuffers") { |
| 16 | device = nullptr; |
| 17 | |
| 18 | deviceConfig.store(nullptr); |
| 19 | deviceInfo.store(nullptr); |
| 20 | |
| 21 | sampleRate.store(DEFAULT_SAMPLE_RATE); |
| 22 | frequency.store(0); |
| 23 | offset.store(0); |
| 24 | ppm.store(0); |
| 25 | |
| 26 | numElems.store(0); |
| 27 | |
| 28 | rate_changed.store(false); |
| 29 | freq_changed.store(false); |
| 30 | offset_changed.store(false); |
| 31 | antenna_changed.store(false); |
| 32 | ppm_changed .store(false); |
| 33 | device_changed.store(false); |
| 34 | |
| 35 | hasPPM.store(false); |
| 36 | hasHardwareDC.store(false); |
| 37 | numChannels.store(8); |
| 38 | |
| 39 | agc_mode.store(true); |
| 40 | agc_mode_changed.store(false); |
| 41 | gain_value_changed.store(false); |
| 42 | setting_value_changed.store(false); |
| 43 | frequency_lock_init.store(false); |
| 44 | frequency_locked.store(false); |
| 45 | lock_freq.store(0); |
| 46 | iq_swap.store(false); |
| 47 | } |
| 48 | |
| 49 | SDRThread::~SDRThread() = default; |
| 50 |
nothing calls this directly
no outgoing calls
no test coverage detected