Skip to content

Commit 5ab56c1

Browse files
committed
resolve #203
1 parent 35e1599 commit 5ab56c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cores/nRF5/utility/SoftwareTimer.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ class SoftwareTimer
5252
_handle = xTimerCreate(NULL, ms2tick(ms), true, NULL, callback);
5353
}
5454

55+
TimerHandle_t getHandle(void)
56+
{
57+
return _handle;
58+
}
59+
5560
void start(void) { xTimerStart(_handle, 0); }
5661
void stop (void) { xTimerStop (_handle, 0); }
5762

0 commit comments

Comments
 (0)