Commit 980fde5e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 8e4c509d
......@@ -10,9 +10,9 @@ class RunPromise(JSONPromise):
super(RunPromise, self).__init__(config)
self.setPeriodicity(minute=1)
self.amarisoft_rf_info_log = self.getConfig('amarisoft-rf-info-log')
self.sdr_devchan = "/dev/sdr%s@%s" % (self.getConfig('sdr_dev'), self.getConfig('sfp_port'))
self.stats_period = int(self.getConfig('stats-period'))
self.testing = self.getConfig('testing') == "True"
self.sdr_devchan = "/dev/sdr%s@%s" % (self.getConfig('sdr_dev'), self.getConfig('sfp_port'))
def sense(self):
if self.testing:
......
......@@ -20,7 +20,6 @@ class RunPromise(GenericPromise):
dma_chan = self.getConfig('dma_chan')
sdr_devchan = "/dev/sdr%s@%s" % (sdr_dev, dma_chan)
if testing:
self.logger.info("skipping promise")
return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment