t
Fork of mbed-dev by
Diff: platform/mbed_poll.cpp
- Revision:
- 177:447f873cad2f
- Parent:
- 168:e84263d55307
diff -r af195413fb11 -r 447f873cad2f platform/mbed_poll.cpp --- a/platform/mbed_poll.cpp Wed Oct 11 12:45:49 2017 +0100 +++ b/platform/mbed_poll.cpp Wed Oct 25 14:53:38 2017 +0100 @@ -66,7 +66,7 @@ #ifdef MBED_CONF_RTOS_PRESENT // TODO - proper blocking // wait for condition variable, wait queue whatever here - rtos::Thread::yield(); + rtos::Thread::wait(1); #endif } return count;