Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove another rogue print, add .rf format for 32-bit floating pt #519

Merged
merged 1 commit into from
Jul 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lddecode/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions lddecode/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down