From c4dfdfe9fcb9685bc3c9ee9c6417cc1fbeca4710 Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 17 Feb 2006 22:24:07 +0000 Subject: [PATCH] Add MOD_CHECK() checks. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@521 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drv/timer.c b/drv/timer.c index 28980c5d..8036816c 100755 --- a/drv/timer.c +++ b/drv/timer.c @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.29 2006/02/17 22:24:07 bernie + *#* Add MOD_CHECK() checks. + *#* *#* Revision 1.28 2006/02/10 12:32:52 bernie *#* Update Copyright year. *#* @@ -46,6 +49,7 @@ #include #include #include +#include #include /* @@ -303,6 +307,7 @@ DEFINE_TIMER_ISR TIMER_STROBE_OFF; } +MOD_DEFINE(timer) /*! * Initialize timer @@ -318,4 +323,6 @@ void timer_init(void) _clock = 0; timer_hw_init(); + + MOD_INIT(timer); } -- 2.25.1