aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/stk500v2/command.h
diff options
context:
space:
mode:
authorSandeep Mistry <s.mistry@arduino.cc>2016-04-14 10:06:47 -0400
committerSandeep Mistry <s.mistry@arduino.cc>2016-04-14 10:06:47 -0400
commit5e3d08af24b6254cf5308b2a1c19491bcc92c608 (patch)
tree2b414645405c6c6ab1cdadff6b4c666a04bc0ea0 /bootloaders/stk500v2/command.h
parent5e194bd8efe8dcd2fb6eaa13cec1a2a642c5254a (diff)
Subtract one from USB_EP_SIZE in USB_SendSpace
This avoids dealing with ZLP’s in USB_Send, because the max packet size will be EP size - 1.
Diffstat (limited to 'bootloaders/stk500v2/command.h')
0 files changed, 0 insertions, 0 deletions