use csdr++ gain

This commit is contained in:
Jakob Ketterl 2021-07-06 21:42:29 +02:00
parent 8f0b33eb83
commit a92f587734

View File

@ -21,7 +21,7 @@ class FifiSdrSource(DirectSource):
return super().getEventNames() + ["device"]
def getFormatConversion(self):
return ["csdr++ convert -i s16 -o float", "csdr gain_ff 5"]
return ["csdr++ convert -i s16 -o float", "csdr++ gain 5"]
def sendRockProgFrequency(self, frequency):
process = Popen(["rockprog", "--vco", "-w", "--freq={}".format(frequency / 1e6)])