#include "MbedEventTimeout.h" | |
#include <drivers/Timeout.h> | |
namespace chip { | |
namespace DeviceLayer { | |
using namespace mbed; | |
static Timeout mTimeout; | |
void MbedEventTimeout::AttachTimeout(Callback<void()> func, std::chrono::microseconds t) | |
{ | |
mTimeout.attach(func, t); | |
} | |
} // namespace DeviceLayer | |
} // namespace chip |