We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d21e3f2 commit 165a8eeCopy full SHA for 165a8ee
cores/arduino/timer.cpp
@@ -30,4 +30,8 @@ void ArduinoTimer::start() {
30
31
void ArduinoTimer::stop() {
32
timer->obj->stop();
33
+}
34
+
35
+void ArduinoTimer::reset() {
36
+ timer->obj->reset();
37
}
cores/arduino/timer.h
@@ -18,6 +18,7 @@ namespace arduino {
18
~ArduinoTimer();
19
void start();
20
void stop();
21
+ void reset();
22
23
private:
24
mbed_timer* timer = NULL;
0 commit comments