From: bernie Date: Fri, 17 Feb 2006 22:24:07 +0000 (+0000) Subject: Add MOD_CHECK() checks. X-Git-Tag: 1.0.0~720 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c4dfdfe9fcb9685bc3c9ee9c6417cc1fbeca4710;p=bertos.git Add MOD_CHECK() checks. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@521 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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); }