diff options
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r-- | src/OutputUHD.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h index 36e8b62..9766f36 100644 --- a/src/OutputUHD.h +++ b/src/OutputUHD.h @@ -182,14 +182,14 @@ struct OutputUHDConfig { // The USRP1 can accept two daughterboards std::string subDevice; // e.g. A:0 - long masterClockRate; - unsigned sampleRate; - double frequency; - double txgain; - bool enableSync; - bool muteNoTimestamps; - unsigned dabMode; - unsigned maxGPSHoldoverTime; + long masterClockRate = 32768000; + unsigned sampleRate = 2048000; + double frequency = 0.0; + double txgain = 0.0; + bool enableSync = false; + bool muteNoTimestamps = false; + unsigned dabMode = 0; + unsigned maxGPSHoldoverTime = 0; /* allowed values : auto, int, sma, mimo */ std::string refclk_src; @@ -204,10 +204,10 @@ struct OutputUHDConfig { refclk_lock_loss_behaviour_t refclk_lock_loss_behaviour; // muting can only be changed using the remote control - bool muting; + bool muting = false; // static delay in microseconds - int staticDelayUs; + int staticDelayUs = 0; }; |