mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
print error code as hex
This commit is contained in:
parent
c42a770909
commit
77d72d49b2
2 changed files with 2 additions and 2 deletions
|
@ -311,7 +311,7 @@ FailUnknownDevice:
|
||||||
Fail:
|
Fail:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Notify(PSTR("\r\nPS3 Init Failed, error code: "));
|
Notify(PSTR("\r\nPS3 Init Failed, error code: "));
|
||||||
Serial.print(rcode);
|
Serial.print(rcode,HEX);
|
||||||
#endif
|
#endif
|
||||||
Release();
|
Release();
|
||||||
return rcode;
|
return rcode;
|
||||||
|
|
|
@ -247,7 +247,7 @@ FailUnknownDevice:
|
||||||
Fail:
|
Fail:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Notify(PSTR("\r\nBTD Init Failed, error code: "));
|
Notify(PSTR("\r\nBTD Init Failed, error code: "));
|
||||||
Serial.print(rcode);
|
Serial.print(rcode,HEX);
|
||||||
#endif
|
#endif
|
||||||
Release();
|
Release();
|
||||||
return rcode;
|
return rcode;
|
||||||
|
|
Loading…
Reference in a new issue