From 0924065511087d9ef3cf84183029ce8e834ff84a Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Sun, 19 Dec 2021 21:06:09 -0800 Subject: Configured atomic swap --- src/sys/timer.c | 2 +- src/sys/timer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sys') 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 -- cgit v1.2.1