print error code as hex

This commit is contained in:
Kristian Lauszus 2012-08-08 18:00:02 +02:00
parent c42a770909
commit 77d72d49b2
2 changed files with 2 additions and 2 deletions

View file

@ -311,7 +311,7 @@ FailUnknownDevice:
Fail:
#ifdef DEBUG
Notify(PSTR("\r\nPS3 Init Failed, error code: "));
Serial.print(rcode);
Serial.print(rcode,HEX);
#endif
Release();
return rcode;

View file

@ -247,7 +247,7 @@ FailUnknownDevice:
Fail:
#ifdef DEBUG
Notify(PSTR("\r\nBTD Init Failed, error code: "));
Serial.print(rcode);
Serial.print(rcode,HEX);
#endif
Release();
return rcode;