mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: platform/mbed_poll.cpp
- Revision:
- 188:bcfe06ba3d64
- Parent:
- 186:707f6e361f3e
- Child:
- 189:f392fc9709a3
diff -r 0387e8f68319 -r bcfe06ba3d64 platform/mbed_poll.cpp --- a/platform/mbed_poll.cpp Thu Sep 06 13:40:20 2018 +0100 +++ b/platform/mbed_poll.cpp Thu Nov 08 11:46:34 2018 +0000 @@ -20,8 +20,8 @@ #include "rtos/Thread.h" using namespace rtos; #else -#include "Timer.h" -#include "LowPowerTimer.h" +#include "drivers/Timer.h" +#include "drivers/LowPowerTimer.h" #endif namespace mbed { @@ -29,7 +29,7 @@ // timeout -1 forever, or milliseconds int poll(pollfh fhs[], unsigned nfhs, int timeout) { - /** + /* * TODO Proper wake-up mechanism. * In order to correctly detect availability of read/write a FileHandle, we needed * a select or poll mechanisms. We opted for poll as POSIX defines in