Skip to content

Commit

Permalink
correct frame size for teax grabber
Browse files Browse the repository at this point in the history
  • Loading branch information
jveitchmichaelis authored Oct 3, 2020
1 parent 2605e50 commit b48b643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flirpy/camera/tau.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ def __init__(self, vid=0x0403, pid=0x6010, width=512, height=640):
self.dev = usb.core.find(idVendor=vid, idProduct=pid)

self._ftdi = None
self.frame_size = 2*height*width+2058 # probably wrong for 320x256
self.frame_size = 2*height*width+10+4*height # 10 byte header, 4 bytes pad per row

if self.dev is not None:
self.connect()
Expand Down

0 comments on commit b48b643

Please sign in to comment.