Skip to content

Commit

Permalink
Merge pull request #519 from happycube/chad071920
Browse files Browse the repository at this point in the history
remove another rogue print, add .rf format for 32-bit floating pt
  • Loading branch information
happycube committed Jul 20, 2020
2 parents 6a91342 + 30af3e0 commit ac82e50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit ac82e50

Please sign in to comment.