Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d708438

Browse filesBrowse files
authored
feat: reduce bluetooth serial flush delay to 2 ms (espressif#9905)
1 parent 206c0c7 commit d708438
Copy full SHA for d708438

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎libraries/BluetoothSerial/src/BluetoothSerial.cpp

Copy file name to clipboardExpand all lines: libraries/BluetoothSerial/src/BluetoothSerial.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ size_t BluetoothSerial::write(const uint8_t *buffer, size_t size) {
878878
void BluetoothSerial::flush() {
879879
if (_spp_tx_queue != NULL) {
880880
while (uxQueueMessagesWaiting(_spp_tx_queue) > 0) {
881-
delay(100);
881+
delay(2);
882882
}
883883
}
884884
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.