mirror of
https://github.com/nqrduck/nqrduck-spectrometer-limenqr.git
synced 2024-09-19 09:40:34 +00:00
Minor bugfix: Casting of correction factor to float.
This commit is contained in:
parent
d913c8a045
commit
bb1cac3426
1 changed files with 1 additions and 1 deletions
|
@ -482,7 +482,7 @@ class LimeNQRController(BaseSpectrometerController):
|
||||||
|
|
||||||
offset = self.calculate_offset(lime)
|
offset = self.calculate_offset(lime)
|
||||||
|
|
||||||
rx_begin = float(previous_events_duration) + float(offset) + CORRECTION_FACTOR
|
rx_begin = float(previous_events_duration) + float(offset) + float(CORRECTION_FACTOR)
|
||||||
rx_stop = rx_begin + rx_duration
|
rx_stop = rx_begin + rx_duration
|
||||||
return rx_begin * 1e6, rx_stop * 1e6
|
return rx_begin * 1e6, rx_stop * 1e6
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue