Only dump wii board debug in debug mode
This commit is contained in:
@@ -71,6 +71,7 @@ int wii_board_handshake(struct wiimote_t* wm, struct wii_board_t* wb, byte* data
|
|||||||
uint16_t *handshake_short;
|
uint16_t *handshake_short;
|
||||||
|
|
||||||
/* decrypt data */
|
/* decrypt data */
|
||||||
|
#ifdef WITH_WIIUSE_DEBUG
|
||||||
printf("DECRYPTED DATA WIIBOARD\n");
|
printf("DECRYPTED DATA WIIBOARD\n");
|
||||||
for (i = 0; i < len; ++i)
|
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("%02X ", data[i]);
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
handshake_short = (uint16_t*)data;
|
handshake_short = (uint16_t*)data;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user