Unverified Commit 7fd956db authored by Manuel Philipp's avatar Manuel Philipp Committed by GitHub

in BluetoothSerial.setTimeout also set timeout for parent class Stream. (#7924)

parent bef8a75e
......@@ -838,6 +838,7 @@ int BluetoothSerial::read()
*/
void BluetoothSerial::setTimeout(int timeoutMS)
{
Stream::setTimeout(timeoutMS);
this->timeoutTicks=timeoutMS / portTICK_PERIOD_MS;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment