diff --git a/lddecode/core.py b/lddecode/core.py index e4c7eb21c..ab42e311b 100644 --- a/lddecode/core.py +++ b/lddecode/core.py @@ -1743,7 +1743,6 @@ def compute_linelocs(self): self.rawpulses = self.getpulses() if self.rawpulses is None or len(self.rawpulses) == 0: logging.error("Unable to find any sync pulses, jumping one second") - print('x1') return None, None, int(self.rf.freq_hz) self.validpulses = validpulses = self.refinepulses() diff --git a/lddecode/utils.py b/lddecode/utils.py index ff611f07b..5b61ed0e0 100644 --- a/lddecode/utils.py +++ b/lddecode/utils.py @@ -117,6 +117,8 @@ def make_loader(filename, inputfreq=None): if filename.endswith('.r16') or filename.endswith('.s16'): input_args = ['-f', 's16le'] + elif filename.endswith('.rf'): + input_args = ['-f', 'f32le'] elif filename.endswith('.r8') or filename.endswith('.u8'): input_args = ['-f', 'u8'] elif filename.endswith('.lds') or filename.endswith('.r30'):