From 6bce6d53d3a07f14319914e5baa32998cbca2c2d Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Thu, 11 Nov 2010 12:42:03 -0600 Subject: [PATCH] Only dump wii board debug in debug mode --- src/wiiboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wiiboard.c b/src/wiiboard.c index f2e4d82..560da80 100644 --- a/src/wiiboard.c +++ b/src/wiiboard.c @@ -71,6 +71,7 @@ int wii_board_handshake(struct wiimote_t* wm, struct wii_board_t* wb, byte* data uint16_t *handshake_short; /* decrypt data */ +#ifdef WITH_WIIUSE_DEBUG printf("DECRYPTED DATA WIIBOARD\n"); for (i = 0; i < len; ++i) { @@ -84,6 +85,7 @@ int wii_board_handshake(struct wiimote_t* wm, struct wii_board_t* wb, byte* data printf("%02X ", data[i]); } printf("\n"); +#endif handshake_short = (uint16_t*)data;