mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Adjusted delay again
This commit is contained in:
parent
72e25410f4
commit
b5d0180751
1 changed files with 2 additions and 2 deletions
|
@ -682,7 +682,7 @@ void PS3BT::HCI_task()
|
||||||
switch (hci_state){
|
switch (hci_state){
|
||||||
case HCI_INIT_STATE:
|
case HCI_INIT_STATE:
|
||||||
hci_counter++;
|
hci_counter++;
|
||||||
if (hci_counter > 1000) // wait until we have looped 1000 times to clear any old events
|
if (hci_counter > 100) // wait until we have looped 100 times to clear any old events
|
||||||
{
|
{
|
||||||
hci_reset();
|
hci_reset();
|
||||||
hci_state = HCI_RESET_STATE;
|
hci_state = HCI_RESET_STATE;
|
||||||
|
@ -700,7 +700,7 @@ void PS3BT::HCI_task()
|
||||||
hci_state = HCI_BDADDR_STATE;
|
hci_state = HCI_BDADDR_STATE;
|
||||||
hci_read_bdaddr();
|
hci_read_bdaddr();
|
||||||
}
|
}
|
||||||
else if (hci_counter > 1000)
|
else if (hci_counter > 100)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Notify(PSTR("\r\nNo response to HCI Reset"));
|
Notify(PSTR("\r\nNo response to HCI Reset"));
|
||||||
|
|
Loading…
Reference in a new issue