diff --git a/source/driver-models/Serial.cpp b/source/driver-models/Serial.cpp index 45e88af5..ad8e3ce4 100644 --- a/source/driver-models/Serial.cpp +++ b/source/driver-models/Serial.cpp @@ -210,7 +210,7 @@ void Serial::send(SerialMode mode) while(txBufferedSize() > 0); if(mode == SYNC_SLEEP) - fiber_sleep(0); + schedule(); } /**