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
3
BTD.cpp
3
BTD.cpp
|
@ -110,7 +110,8 @@ FailGetDevDescr:
|
||||||
#ifdef DEBUG_USB_HOST
|
#ifdef DEBUG_USB_HOST
|
||||||
NotifyFailGetDevDescr(rcode);
|
NotifyFailGetDevDescr(rcode);
|
||||||
#endif
|
#endif
|
||||||
rcode = USB_ERROR_FailGetDevDescr;
|
if (rcode != hrJERR)
|
||||||
|
rcode = USB_ERROR_FailGetDevDescr;
|
||||||
Release();
|
Release();
|
||||||
return rcode;
|
return rcode;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue