Skip to content

Commit

Permalink
Husky SAD: reference setting bugfix.
Browse files Browse the repository at this point in the history
Fix reference setting when providing a shortened reference.
  • Loading branch information
jpcrypt committed Sep 24, 2024
1 parent 513adcf commit b852140
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,7 @@ def reference(self, wave, bits_per_sample=None):
if self._emode_off:
reflen *= 2
if len(wave) < reflen:
scope_logger.info('XXX extending...')
reflen *= 2
scope_logger.info('extending reference because _emode_off')
wave.extend([0]*(reflen-len(wave)))

# first, trim and translate reference waveform to ints:
Expand Down

0 comments on commit b852140

Please sign in to comment.