From 90ae685010fcc748bbb0964d148d58c351886320 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Sun, 7 Oct 2012 20:34:52 +0200 Subject: [PATCH] Minor edit --- BTD.h | 2 +- Wii.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BTD.h b/BTD.h index 5858eefb..8b079762 100755 --- a/BTD.h +++ b/BTD.h @@ -180,7 +180,7 @@ public: uint8_t disc_bdaddr[6]; // Last incoming devices Bluetooth address uint8_t remote_name[30]; // First 30 chars of last remote name uint8_t hci_version; - + int8_t wiiServiceID; // Stores the service ID of the Wii service bool connectToWii; // Used to only send the ACL data to the wiimote diff --git a/Wii.cpp b/Wii.cpp index 8c08ac5e..10650329 100755 --- a/Wii.cpp +++ b/Wii.cpp @@ -28,7 +28,7 @@ pBtd(p) // pointer to USB class instance - mandatory pBtd->pairWithWii = pair; - HIDBuffer[0] = 0xA2;// HID BT DATA_request (0x50) | Report Type (Output 0x02) + HIDBuffer[0] = 0xA2;// HID BT DATA_request (0xA0) | Report Type (Output 0x02) /* Set device cid for the control and intterrupt channelse - LSB */ control_dcid[0] = 0x60;//0x0060