diff --git a/BTHID.cpp b/BTHID.cpp index b1c3c1f4..ec0535af 100644 --- a/BTHID.cpp +++ b/BTHID.cpp @@ -89,7 +89,7 @@ void BTHID::ACLData(uint8_t* l2capinbuf) { #endif } else if (l2capinbuf[8] == L2CAP_CMD_CONNECTION_RESPONSE) { if (((l2capinbuf[16] | (l2capinbuf[17] << 8)) == 0x0000) && ((l2capinbuf[18] | (l2capinbuf[19] << 8)) == SUCCESSFUL)) { // Success - if (l2capinbuf[14] == control_dcid[0] && l2capinbuf[15] == control_dcid[1]) { // Success + if (l2capinbuf[14] == control_dcid[0] && l2capinbuf[15] == control_dcid[1]) { //Notify(PSTR("\r\nHID Control Connection Complete"), 0x80); identifier = l2capinbuf[9]; control_scid[0] = l2capinbuf[12]; @@ -186,7 +186,7 @@ void BTHID::ACLData(uint8_t* l2capinbuf) { Notify(PSTR("\r\nL2CAP Interrupt: "), 0x80); for (uint16_t i = 0; i < ((uint16_t)l2capinbuf[5] << 8 | l2capinbuf[4]); i++) { D_PrintHex (l2capinbuf[i + 8], 0x80); - Notifyc(' ', 0x80); + Notify(PSTR(" "), 0x80); } #endif if (l2capinbuf[8] == 0xA1) { // HID_THDR_DATA_INPUT @@ -223,7 +223,7 @@ void BTHID::ACLData(uint8_t* l2capinbuf) { Notify(PSTR("\r\nL2CAP Control: "), 0x80); for (uint16_t i = 0; i < ((uint16_t)l2capinbuf[5] << 8 | l2capinbuf[4]); i++) { D_PrintHex (l2capinbuf[i + 8], 0x80); - Notifyc(' ', 0x80); + Notify(PSTR(" "), 0x80); } #endif } diff --git a/Wii.cpp b/Wii.cpp index 2e8669db..d55d4e79 100755 --- a/Wii.cpp +++ b/Wii.cpp @@ -163,7 +163,7 @@ void WII::ACLData(uint8_t* l2capinbuf) { #endif } else if (l2capinbuf[8] == L2CAP_CMD_CONNECTION_RESPONSE) { if (((l2capinbuf[16] | (l2capinbuf[17] << 8)) == 0x0000) && ((l2capinbuf[18] | (l2capinbuf[19] << 8)) == SUCCESSFUL)) { // Success - if (l2capinbuf[14] == control_dcid[0] && l2capinbuf[15] == control_dcid[1]) { // Success + if (l2capinbuf[14] == control_dcid[0] && l2capinbuf[15] == control_dcid[1]) { //Notify(PSTR("\r\nHID Control Connection Complete"), 0x80); identifier = l2capinbuf[9]; control_scid[0] = l2capinbuf[12];