diff --git a/src/unity.c b/src/unity.c index c6c942bc70abe205b002a7c4255751232ef96ddc..921e5d6a69470b1b12c4192c39348d500ce05aa6 100644 --- a/src/unity.c +++ b/src/unity.c @@ -149,7 +149,8 @@ void UnityPrintNumberHex(const _U_UINT number, const char nibbles_to_print) { _U_UINT nibble; char nibbles = nibbles_to_print; - UnityPrint("0x"); + UNITY_OUTPUT_CHAR('0'); + UNITY_OUTPUT_CHAR('x'); while (nibbles > 0) {