From: Alan Cox Date: Tue, 28 Aug 2018 16:02:39 +0000 (+0100) Subject: timer: Fix broke preprocessor rule X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=53391f3f4ccb7ab39e066d11b3b89f356d48ffad;p=FUZIX.git timer: Fix broke preprocessor rule --- 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 */