aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-19 21:06:09 -0800
committerChristian Cunningham <cc@localhost>2021-12-19 21:06:09 -0800
commit0924065511087d9ef3cf84183029ce8e834ff84a (patch)
tree63b1236a636f6315bc0d2bef4fcc599456479a18 /src/sys
parent43db8c57ebe496bea03d66e2ddd0aa6bc298738c (diff)
Configured atomic swap
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/timer.c2
-rw-r--r--src/sys/timer.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sys/timer.c b/src/sys/timer.c
index f4013d4..9df7b33 100644
--- a/src/sys/timer.c
+++ b/src/sys/timer.c
@@ -5,7 +5,7 @@
#include "../drivers/uart.a.h"
#include "../drivers/uart.h"
-#define TIMER_C
+#define SYS_TIMER_C
extern char* os_info_v;
unsigned long exe_cnt = 0;
diff --git a/src/sys/timer.h b/src/sys/timer.h
index 4774ed4..76fc015 100644
--- a/src/sys/timer.h
+++ b/src/sys/timer.h
@@ -1,7 +1,7 @@
#ifndef SYS_TIMER_H
#define SYS_TIMER_H
-#ifndef TIMER_C
+#ifndef SYS_TIMER_C
extern struct Mutex exe_cnt_m;
#endif