SDR: Add option to set local oscillator (LO) offset

By default it is set to -1 MHz.
This commit is contained in:
Andreas Eversberg
2017-12-04 14:12:11 +01:00
parent c49ee3b2a8
commit 9f901384de
10 changed files with 58 additions and 30 deletions

View File

@@ -43,6 +43,8 @@
#include "../libsdr/sdr_config.h"
#endif
#define DEFAULT_LO_OFFSET -1000000.0
static int got_init = 0;
/* common mobile settings */
@@ -77,7 +79,7 @@ void main_mobile_init(void)
{
got_init = 1;
#ifdef HAVE_SDR
sdr_config_init();
sdr_config_init(DEFAULT_LO_OFFSET);
#endif
}