From: Alan Cox Date: Sat, 25 Aug 2018 14:16:04 +0000 (+0100) Subject: timer: last bits needed for a platform without a timer interrupt X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4b50f6fbbb146e57988c1eee99d595d580e8b1aa;p=FUZIX.git timer: last bits needed for a platform without a timer interrupt --- diff --git a/Kernel/timer.c b/Kernel/timer.c index 687844c2..b1c5a082 100644 --- a/Kernel/timer.c +++ b/Kernel/timer.c @@ -58,7 +58,7 @@ void wrtime(time_t *tloc) irqrestore(irq); } -#ifndef CONFIG_RTC +#if !defined(CONFIG_RTC) && !defined(CONFIG_NO_CLOCK) static uint8_t tod_deci; /* Update software emulated clock. Called ten times a second */