t

Fork of mbed-dev by mbed official

Revision:
177:447f873cad2f
Parent:
168:e84263d55307
--- 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;