mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-12-22 23:47:47 +00:00
Updated failure check.
This commit is contained in:
parent
f4499fc774
commit
797234e9a2
1 changed files with 2 additions and 2 deletions
|
@ -283,7 +283,7 @@ class LimeNQRController(BaseSpectrometerController):
|
|||
except ValueError:
|
||||
logger.warning("Could not set frequency to: %s", value)
|
||||
self.module.nqrduck_signal.emit("notification", ["Error", "Could not set frequency to: " + value])
|
||||
self.module.nqrduck_signal.emit("failure", ["set_frequency", value])
|
||||
self.module.nqrduck_signal.emit("failure_set_frequency", value)
|
||||
|
||||
def set_averages(self, value):
|
||||
logger.debug("Setting averages to: %s", value)
|
||||
|
@ -293,4 +293,4 @@ class LimeNQRController(BaseSpectrometerController):
|
|||
except ValueError:
|
||||
logger.warning("Could not set averages to: %s", value)
|
||||
self.module.nqrduck_signal.emit("notification", ["Error", "Could not set averages to: " + value])
|
||||
self.module.nqrduck_signal.emit("failure", ["set_averages", value])
|
||||
self.module.nqrduck_signal.emit("failure_set_averages", value)
|
||||
|
|
Loading…
Reference in a new issue