From 4e952d4fc690a83cdbf26e12c05f4d78a9e59eae Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 26 Aug 2008 09:44:50 +0000 Subject: [PATCH] Typo; proc_preempt_timer -> proc_preempt. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1704 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/kern/preempt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bertos/kern/preempt.c b/bertos/kern/preempt.c index a9201f61..85aab8ea 100644 --- a/bertos/kern/preempt.c +++ b/bertos/kern/preempt.c @@ -87,7 +87,7 @@ void proc_schedule(void) TRACEMSG("launching %p:%s", CurrentProcess, proc_currentName()); } -void proc_preempt(UNUSED_ARG(void *, param) +void proc_preempt(UNUSED_ARG(void *, param)) { if (!preempt_forbid_cnt) { @@ -155,7 +155,7 @@ void preempt_init(void) irq_register(SIGUSR1, proc_schedule); - timer_setSoftint(&preempt_timer, proc_preempt_timer, NULL); + timer_setSoftint(&preempt_timer, proc_preempt, NULL); timer_setDelay(&preempt_timer, CONFIG_KERN_QUANTUM); timer_add(&preempt_timer); -- 2.25.1