fix biastee
This commit is contained in:
parent
c12a0cd27a
commit
ec700a111b
|
@ -0,0 +1 @@
|
||||||
|
biastee_rx on
|
1
dmi.py
1
dmi.py
|
@ -30,6 +30,7 @@ def main():
|
||||||
for channel in range(2):
|
for channel in range(2):
|
||||||
sdr.setSampleRate(SoapySDR.SOAPY_SDR_RX, channel, freq_sample)
|
sdr.setSampleRate(SoapySDR.SOAPY_SDR_RX, channel, freq_sample)
|
||||||
sdr.setFrequency(SoapySDR.SOAPY_SDR_RX, channel, freq_base)
|
sdr.setFrequency(SoapySDR.SOAPY_SDR_RX, channel, freq_base)
|
||||||
|
sdr.setGain(SoapySDR.SOAPY_SDR_RX, channel, 57.0)
|
||||||
|
|
||||||
buf_sdr = BufferedSDR(sdr, [0, 1], block_size, 32)
|
buf_sdr = BufferedSDR(sdr, [0, 1], block_size, 32)
|
||||||
buf_sdr.start()
|
buf_sdr.start()
|
||||||
|
|
|
@ -40,7 +40,6 @@ in
|
||||||
'';
|
'';
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream}
|
${pkgs.libbladeRF}/bin/bladeRF-cli -l ${bitstream}
|
||||||
${pkgs.libbladeRF}/bin/bladeRF-cli -e "set biastee rx on"
|
|
||||||
'';
|
'';
|
||||||
QT_QPA_PLATFORM = "wayland";
|
QT_QPA_PLATFORM = "wayland";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue