summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Daniel <cd@maintech.de>2012-06-01 00:16:28 +0200
committerChristian Daniel <cd@maintech.de>2012-06-01 00:16:28 +0200
commita5d9d2de8147f44e25fdb3c5acbeb67fc7e4796a (patch)
tree2750d922e77bc50824277924e22f7150ee3eea47
parent399d41474f184e4fb6e554036239004ec48afa04 (diff)
swap I/Q by default (OsmoSDR is q first)
-rw-r--r--firmware/osmosdr-project/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/osmosdr-project/main.c b/firmware/osmosdr-project/main.c
index f8b8f7f..cdb91a9 100644
--- a/firmware/osmosdr-project/main.c
+++ b/firmware/osmosdr-project/main.c
@@ -439,8 +439,9 @@ int main(void)
e4k.vco.fosc = 30000000;
osdr_fpga_init(SSC_MCK);
- osdr_fpga_reg_write(OSDR_FPGA_REG_ADC_TIMING, (1 << 8) | 255);
+ //osdr_fpga_reg_write(OSDR_FPGA_REG_ADC_TIMING, (1 << 8) | 255);
//osdr_fpga_reg_write(OSDR_FPGA_REG_PWM1, (1 << 400) | 800);
+ osdr_fpga_set_iq_swap(0);
ssc_init();