Minor edit

This commit is contained in:
Kristian Lauszus 2012-08-09 00:15:45 +02:00
parent e89c68482b
commit 4d933592de

View file

@ -295,7 +295,7 @@ void BTD::PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR* ep_ptr) {
uint8_t BTD::Release() { uint8_t BTD::Release() {
for (uint8_t i=0; i<BTD_NUMDEVICES; i++) for (uint8_t i=0; i<BTD_NUMDEVICES; i++)
if (btService[i]) if (btService[i])
btService[i]->Reset(); // Reset both the L2CAP Channel and the HCI Connection btService[i]->Reset(); // Reset all Bluetooth services
pUsb->GetAddressPool().FreeAddress(bAddress); pUsb->GetAddressPool().FreeAddress(bAddress);
bAddress = 0; bAddress = 0;
bPollEnable = false; bPollEnable = false;
@ -514,7 +514,7 @@ void BTD::HCI_task() {
if(hci_incoming_connect_request) { if(hci_incoming_connect_request) {
watingForConnection = false; watingForConnection = false;
#ifdef DEBUG #ifdef DEBUG
Notify(PSTR("\r\nIncoming Request")); Notify(PSTR("\r\nIncoming Connection Request"));
#endif #endif
hci_remote_name(); hci_remote_name();
hci_state = HCI_REMOTE_NAME_STATE; hci_state = HCI_REMOTE_NAME_STATE;