diff --git a/PS3BT.cpp b/PS3BT.cpp index fd58d271..994b639e 100644 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -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; diff --git a/RFCOMM.cpp b/RFCOMM.cpp index fa63a778..e02b4a21 100644 --- a/RFCOMM.cpp +++ b/RFCOMM.cpp @@ -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;