From 92b012e84272728910aa60c6ac4e39ead0906302 Mon Sep 17 00:00:00 2001 From: Manuel Philipp Date: Fri, 3 Mar 2023 13:17:19 +0100 Subject: [PATCH] in BluetoothSerial.setTimeout also set timeout for parent class Stream. --- libraries/BluetoothSerial/src/BluetoothSerial.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/BluetoothSerial/src/BluetoothSerial.cpp b/libraries/BluetoothSerial/src/BluetoothSerial.cpp index 5f7e67b7ac9..96c95c6df60 100644 --- a/libraries/BluetoothSerial/src/BluetoothSerial.cpp +++ b/libraries/BluetoothSerial/src/BluetoothSerial.cpp @@ -838,6 +838,7 @@ int BluetoothSerial::read() */ void BluetoothSerial::setTimeout(int timeoutMS) { + Stream::setTimeout(timeoutMS); this->timeoutTicks=timeoutMS / portTICK_PERIOD_MS; }