This patch fixes a hang when the device is reset by the host mid-transmission. It's currently incomplete, as it only doesn't deal with a reset when receiving data.
However, this is being used for Keyboardio in this form, and I think it's probably better for it to go in now, even though it's incomplete, so that it doesn't get lost while a better fix is prepared.
This patch fixes a hang when the device is reset by the host mid-transmission. It's currently incomplete, as it only doesn't deal with a reset when receiving data.
However, this is being used for Keyboardio in this form, and I think it's probably better for it to go in now, even though it's incomplete, so that it doesn't get lost while a better fix is prepared.