- added suspend mode command 'X'

- added timerStop()

git-svn-id: http://moon:8086/svn/projects/HendiControl@66 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2019-03-04 20:57:34 +00:00
parent 2d0b37a15d
commit f5fe03340f
3 changed files with 18 additions and 3 deletions
+6
View File
@@ -57,3 +57,9 @@ void timer_start(TimerId timerId, uint16_t count)
exitCritial();
}
void timer_stop(TimerId timerId)
{
enterCritical();
user_timer[timerId].isRunning = 0;
exitCritial();
}