From 53391f3f4ccb7ab39e066d11b3b89f356d48ffad Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 28 Aug 2018 17:02:39 +0100 Subject: [PATCH] timer: Fix broke preprocessor rule --- Kernel/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/timer.c b/Kernel/timer.c index b1c5a082..b0ad2ecf 100644 --- a/Kernel/timer.c +++ b/Kernel/timer.c @@ -58,7 +58,7 @@ void wrtime(time_t *tloc) irqrestore(irq); } -#if !defined(CONFIG_RTC) && !defined(CONFIG_NO_CLOCK) +#if !defined(CONFIG_RTC) || defined(CONFIG_NO_CLOCK) static uint8_t tod_deci; /* Update software emulated clock. Called ten times a second */ -- 2.34.1