Skip to content

Commit

Permalink
early spin at #217
Browse files Browse the repository at this point in the history
  • Loading branch information
happycube committed May 20, 2019
1 parent eee09af commit aa37fd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lddecode_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,13 +719,13 @@ def refinepulses(self, pulses):
''' returns validated pulses with type and distance checks '''

# compute the allowable times for each pulse type
hsync_min = self.usectoinpx(self.rf.SysParams['hsyncPulseUS'] - .5)
hsync_min = self.usectoinpx(self.rf.SysParams['hsyncPulseUS'] - .7)
hsync_max = self.usectoinpx(self.rf.SysParams['hsyncPulseUS'] + .5)

eq_min = self.usectoinpx(self.rf.SysParams['eqPulseUS'] - .5)
eq_min = self.usectoinpx(self.rf.SysParams['eqPulseUS'] - .7)
eq_max = self.usectoinpx(self.rf.SysParams['eqPulseUS'] + .5)

vsync_min = self.usectoinpx(self.rf.SysParams['vsyncPulseUS'] - .5)
vsync_min = self.usectoinpx(self.rf.SysParams['vsyncPulseUS'] - .7)
vsync_max = self.usectoinpx(self.rf.SysParams['vsyncPulseUS'] + .5)

# Pulse validator routine. Removes sync pulses of invalid lengths, does not
Expand Down

0 comments on commit aa37fd8

Please sign in to comment.