Skip to content

Commit 7fd956d

Browse files
authored
in BluetoothSerial.setTimeout also set timeout for parent class Stream. (espressif#7924)
1 parent bef8a75 commit 7fd956d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/BluetoothSerial/src/BluetoothSerial.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,7 @@ int BluetoothSerial::read()
838838
*/
839839
void BluetoothSerial::setTimeout(int timeoutMS)
840840
{
841+
Stream::setTimeout(timeoutMS);
841842
this->timeoutTicks=timeoutMS / portTICK_PERIOD_MS;
842843
}
843844

0 commit comments

Comments
 (0)