From 7af44c59736ad212ad0f7b0269493db8d5122dc5 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 18 Feb 2008 15:43:44 +0000 Subject: [PATCH] timer_hw_triggered(): Add dummy definition git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1133 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/timer_posix.c | 29 +---------------------------- drv/timer_posix.h | 22 +--------------------- drv/timer_qt.c | 25 ++----------------------- drv/timer_qt.h | 17 ----------------- 4 files changed, 4 insertions(+), 89 deletions(-) diff --git a/drv/timer_posix.c b/drv/timer_posix.c index c0584f07..e6149cea 100644 --- a/drv/timer_posix.c +++ b/drv/timer_posix.c @@ -26,7 +26,7 @@ * invalidate any other reasons why the executable file might be covered by * the GNU General Public License. * - * Copyright 2005 Develer S.r.l. (http://www.develer.com/) + * Copyright 2005,2008 Develer S.r.l. (http://www.develer.com/) * * --> * @@ -36,32 +36,6 @@ * * \brief Low-level timer module for Qt emulator (implementation). */ - -/*#* - *#* $Log$ - *#* Revision 1.6 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.5 2006/02/21 21:28:02 bernie - *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms. - *#* - *#* Revision 1.4 2006/02/17 22:24:21 bernie - *#* Update POSIX timer emulator. - *#* - *#* Revision 1.3 2006/02/10 12:34:52 bernie - *#* Remove spurious EXTERN_C. - *#* - *#* Revision 1.2 2006/01/16 03:30:21 bernie - *#* Make header C++ friendly. - *#* - *#* Revision 1.1 2005/11/27 03:58:18 bernie - *#* Add POSIX timer emulator. - *#* - *#* Revision 1.1 2005/11/27 03:06:36 bernie - *#* Qt timer emulation. - *#* - *#*/ - #include // hptime.t #include @@ -99,4 +73,3 @@ INLINE hptime_t timer_hw_hpread(void) { return hptime_get(); } - diff --git a/drv/timer_posix.h b/drv/timer_posix.h index 4cce9982..fd2e9c60 100644 --- a/drv/timer_posix.h +++ b/drv/timer_posix.h @@ -36,25 +36,6 @@ * * \brief Low-level timer module for POSIX systems (interface). */ - -/*#* - *#* $Log$ - *#* Revision 1.4 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.3 2006/02/23 11:03:33 bernie - *#* Documentation fix. - *#* - *#* Revision 1.2 2006/02/21 21:28:02 bernie - *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms. - *#* - *#* Revision 1.1 2005/11/27 03:58:18 bernie - *#* Add POSIX timer emulator. - *#* - *#* Revision 1.1 2005/11/27 03:06:36 bernie - *#* Qt timer emulation. - *#* - *#*/ #ifndef DRV_TIMER_POSIX_H #define DRV_TIMER_POSIX_H @@ -75,5 +56,4 @@ /// Not needed. #define timer_hw_irq() do {} while (0) - -#endif /* DRV_TIMER_QT_H */ +#endif /* DRV_TIMER_POSIX_H */ diff --git a/drv/timer_qt.c b/drv/timer_qt.c index 55527f90..6f96da64 100644 --- a/drv/timer_qt.c +++ b/drv/timer_qt.c @@ -36,29 +36,6 @@ * * \brief Low-level timer module for Qt emulator (implementation). */ - -/*#* - *#* $Log$ - *#* Revision 1.6 2006/09/13 18:25:22 bernie - *#* Fix GCC error. - *#* - *#* Revision 1.5 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.4 2006/05/28 12:17:57 bernie - *#* Drop almost all the Qt3 cruft. - *#* - *#* Revision 1.3 2006/02/21 21:28:02 bernie - *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms. - *#* - *#* Revision 1.2 2006/02/20 02:01:35 bernie - *#* Port to Qt 4.1. - *#* - *#* Revision 1.1 2005/11/27 03:06:36 bernie - *#* Qt timer emulation. - *#* - *#*/ - #include /* hptime.t */ // Qt headers @@ -148,3 +125,5 @@ INLINE hptime_t timer_hw_hpread(void) return EmulTimer::instance().hpread(); } +/** Not needed, timer IRQ handler called only for timer source */ +#define timer_hw_triggered() (true) diff --git a/drv/timer_qt.h b/drv/timer_qt.h index 9ba9de7c..76268fd4 100644 --- a/drv/timer_qt.h +++ b/drv/timer_qt.h @@ -36,22 +36,6 @@ * * \brief Low-level timer module for Qt emulator (interface). */ - -/*#* - *#* $Log$ - *#* Revision 1.4 2006/07/19 12:56:26 bernie - *#* Convert to new Doxygen style. - *#* - *#* Revision 1.3 2006/02/21 21:28:02 bernie - *#* New time handling based on TIMER_TICKS_PER_SEC to support slow timers with ticks longer than 1ms. - *#* - *#* Revision 1.2 2005/11/27 03:57:00 bernie - *#* Documentation fixes. - *#* - *#* Revision 1.1 2005/11/27 03:06:36 bernie - *#* Qt timer emulation. - *#* - *#*/ #ifndef DRV_TIMER_QT_H #define DRV_TIMER_QT_H @@ -70,5 +54,4 @@ typedef unsigned int hptime_t; /// Not needed. #define timer_hw_irq() do {} while (0) - #endif /* DRV_TIMER_QT_H */ -- 2.25.1