We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5506b0 commit 26a01e9Copy full SHA for 26a01e9
1 file changed
drivers/tests/UNITTESTS/doubles/drivers/LowPowerTicker.h
@@ -28,21 +28,23 @@ namespace mbed {
28
class LowPowerTicker {
29
30
public:
31
- LowPowerTicker()
32
- {
33
- }
+ LowPowerTicker() = default;
+
+ virtual ~LowPowerTicker() = default;
34
35
- virtual ~LowPowerTicker()
+ void attach(Callback<void()> func, std::chrono::microseconds t)
36
{
37
+ func();
38
}
39
40
void attach_us(Callback<void()> func, us_timestamp_t t)
41
-
42
43
44
45
void detach()
46
47
+ // nothing to do
48
49
};
50
0 commit comments