From b6ca3a4df6ca34cd40f09d4b97e54679eb95840a Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 30 Mar 2022 16:51:36 -0700 Subject: Timer execute once --- usr/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'usr') diff --git a/usr/main.c b/usr/main.c index 0308d4b..5d5348a 100644 --- a/usr/main.c +++ b/usr/main.c @@ -14,24 +14,28 @@ static struct SysTimerInfo stime_0 = { .tick_rate = 5000000, .priority = 0, .arg = 0, + .oneshot = 0, }; static struct SysTimerInfo stime_1 = { .tick_rate = 700000, .priority = 0, .arg = 0, + .oneshot = 0, }; static struct SysTimerInfo stime_2 = { .tick_rate = 300000, .priority = 0, .arg = 0, + .oneshot = 0, }; static struct SysTimerInfo stime_3 = { .tick_rate = 10, .priority = 0, .arg = 0, + .oneshot = 0, }; static struct UartInfo UART_INFO = { -- cgit v1.2.1