mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
fix boo-boo in code.
This commit is contained in:
parent
dfa140f237
commit
78526fb479
1 changed files with 1 additions and 7 deletions
|
@ -498,14 +498,8 @@ uint8_t BulkOnly::ClearEpHalt(uint8_t index) {
|
|||
}
|
||||
|
||||
uint8_t BulkOnly::Reset() {
|
||||
uint8_t r;
|
||||
while (pUsb->ctrlReq(bAddress, 0, bmREQ_MASSOUT, MASS_REQ_BOMSR, 0, 0, bIface, 0, 0, NULL, NULL) == 0x01) delay(6);
|
||||
#if 0
|
||||
if (r) {
|
||||
printf("Reset error %2.2X\r\n", r);
|
||||
}
|
||||
#endif
|
||||
return r;
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint8_t BulkOnly::ResetRecovery() {
|
||||
|
|
Loading…
Reference in a new issue