mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Don't change error code if it returned hrJERR
This commit is contained in:
parent
81ed31e1fe
commit
7a02a07620
1 changed files with 2 additions and 1 deletions
1
BTD.cpp
1
BTD.cpp
|
@ -110,6 +110,7 @@ FailGetDevDescr:
|
|||
#ifdef DEBUG_USB_HOST
|
||||
NotifyFailGetDevDescr(rcode);
|
||||
#endif
|
||||
if (rcode != hrJERR)
|
||||
rcode = USB_ERROR_FailGetDevDescr;
|
||||
Release();
|
||||
return rcode;
|
||||
|
|
Loading…
Reference in a new issue