From 4b50f6fbbb146e57988c1eee99d595d580e8b1aa Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 25 Aug 2018 15:16:04 +0100 Subject: [PATCH] timer: last bits needed for a platform without a timer interrupt --- Kernel/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.34.1