From 11d7cb64c2c625fd6521bff1939e89c35ce2b0cc Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Sat, 23 Nov 2013 13:42:11 -0800 Subject: [PATCH] switch back to qDebug --- libraries/shared/src/SharedUtil.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libraries/shared/src/SharedUtil.cpp b/libraries/shared/src/SharedUtil.cpp index 82153ab887..99b24979cc 100644 --- a/libraries/shared/src/SharedUtil.cpp +++ b/libraries/shared/src/SharedUtil.cpp @@ -71,18 +71,18 @@ void outputBufferBits(unsigned char* buffer, int length, bool withNewLine) { void outputBits(unsigned char byte, bool withNewLine) { if (isalnum(byte)) { - printf("[ %d (%c): ", byte, byte); + qDebug("[ %d (%c): ", byte, byte); } else { - printf("[ %d (0x%x): ", byte, byte); + qDebug("[ %d (0x%x): ", byte, byte); } for (int i = 0; i < 8; i++) { - printf("%d", byte >> (7 - i) & 1); + qDebug("%d", byte >> (7 - i) & 1); } - printf(" ] "); + qDebug(" ] "); if (withNewLine) { - printf("\n"); + qDebug("\n"); } }