aboutsummaryrefslogtreecommitdiff
path: root/usr/main.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-30 16:51:36 -0700
committerChristian Cunningham <cc@localhost>2022-03-30 16:51:36 -0700
commitb6ca3a4df6ca34cd40f09d4b97e54679eb95840a (patch)
treea83556c6639cb5d605b2579e6034a889319edc7e /usr/main.c
parent90227ef8d65052622d09698dc80a27cd67f4bc0a (diff)
Timer execute once
Diffstat (limited to 'usr/main.c')
-rw-r--r--usr/main.c4
1 files changed, 4 insertions, 0 deletions
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 = {