public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde93eb
)
timer: last bits needed for a platform without a timer interrupt
author
Alan Cox
<alan@linux.intel.com>
Sat, 25 Aug 2018 14:16:04 +0000
(15:16 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 25 Aug 2018 14:16:04 +0000
(15:16 +0100)
Kernel/timer.c
patch
|
blob
|
history
diff --git
a/Kernel/timer.c
b/Kernel/timer.c
index
687844c
..
b1c5a08
100644
(file)
--- a/
Kernel/timer.c
+++ b/
Kernel/timer.c
@@
-58,7
+58,7
@@
void wrtime(time_t *tloc)
irqrestore(irq);
}
-#if
ndef CONFIG_RTC
+#if
!defined(CONFIG_RTC) && !defined(CONFIG_NO_CLOCK)
static uint8_t tod_deci;
/* Update software emulated clock. Called ten times
a second */