app/models/extface/driver/datecs/fp550.rb in extface-0.5.2 vs app/models/extface/driver/datecs/fp550.rb in extface-0.5.3
- old
+ new
@@ -218,9 +218,10 @@
end
def frecv(timeout) # return Frame or nil
rframe = nil
BAD_SEQ_MAX_COUNT.times do
+ errors.clear
if frame_bytes = pull(timeout)
rframe = Frame.new(frame_bytes.b)
if rframe.seq.nil? || rframe.seq.ord == sequence_number(false) #accept only current sequence number as reply
break
else
\ No newline at end of file