mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Minor edit
This commit is contained in:
parent
e89c68482b
commit
4d933592de
1 changed files with 2 additions and 2 deletions
4
BTD.cpp
4
BTD.cpp
|
@ -295,7 +295,7 @@ void BTD::PrintEndpointDescriptor(const USB_ENDPOINT_DESCRIPTOR* ep_ptr) {
|
|||
uint8_t BTD::Release() {
|
||||
for (uint8_t i=0; i<BTD_NUMDEVICES; 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);
|
||||
bAddress = 0;
|
||||
bPollEnable = false;
|
||||
|
@ -514,7 +514,7 @@ void BTD::HCI_task() {
|
|||
if(hci_incoming_connect_request) {
|
||||
watingForConnection = false;
|
||||
#ifdef DEBUG
|
||||
Notify(PSTR("\r\nIncoming Request"));
|
||||
Notify(PSTR("\r\nIncoming Connection Request"));
|
||||
#endif
|
||||
hci_remote_name();
|
||||
hci_state = HCI_REMOTE_NAME_STATE;
|
||||
|
|
Loading…
Reference in a new issue