blob: 0e6cc92ccee453ed0040ee6c62d0ae42b4a6d6e7 [file] [log] [blame]
#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