Commit e129a81
committed
fix: print error for msc buffer overflow that should never happen
In this situation the host is sending a new packet of data before the
last buffer has been handled. This should never happen and indicates a
breakdown in the NAK-sending behavior of the greater USB stack for an
MCU. When the buffer is full the USB stack should not ACK the final
packet and should NAK any new packets until the buffer is handled. If an
ACK is sent prematurely and NAKs are not sent in reply to overflow
packets this message will occur and the protocol will de-sync.1 parent b9182ef commit e129a81
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
| |||
0 commit comments