diff --git a/PS3BT.cpp b/PS3BT.cpp index e9b21f57..9166d7eb 100644 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -380,9 +380,9 @@ uint8_t PS3BT::Poll() if (!bPollEnable) return 0; if (qNextPollTime <= millis()) { // Don't poll if shorter than polling interval - HCI_event_task(); // poll the HCI event pipe - ACL_event_task(); // start polling the ACL input pipe too, though discard data until connected qNextPollTime = millis() + pollInterval; // Set new poll time + HCI_event_task(); // poll the HCI event pipe + ACL_event_task(); // start polling the ACL input pipe too, though discard data until connected } return 0; } diff --git a/examples/PS3BT/PS3BT.ino b/examples/PS3BT/PS3BT.ino index 2b6fbd95..df667a4e 100644 --- a/examples/PS3BT/PS3BT.ino +++ b/examples/PS3BT/PS3BT.ino @@ -198,4 +198,5 @@ void loop() Serial.println(templow); } } + delay(1); }