From 851e6d81fb7163529ddea7bee39011a325b593c8 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 3 Jan 2015 13:38:01 +0000 Subject: [PATCH] timer: note which sdcc version the bug affects --- Kernel/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/timer.c b/Kernel/timer.c index c4059aa5..eda5c3e7 100644 --- a/Kernel/timer.c +++ b/Kernel/timer.c @@ -16,7 +16,7 @@ timer_t set_timer_duration(uint16_t duration) } /* obvious code is return (miniticks+duration), however we have to do */ /* it this longwinded way or sdcc doesn't load miniticks atomically */ - /* sdcc bug: ordering affects result */ + /* sdcc 3.4.0 bug: ordering affects result */ a = duration; a += ticks.h.low; -- 2.34.1