Refactor to use new protocol module and sipo.
[bertos.git] / bertos / emul / timer_qt.h
index 70650baeb5b49c4d34ba0c2dbe275e2f924e8fcc..61bbbdc1c9837698fa9e23a700dd6525ac3a712a 100644 (file)
@@ -30,7 +30,6 @@
  *
  * -->
  *
- * \version $Id$
  *
  * \author Bernie Innocenti <bernie@codewiz.org>
  *
@@ -41,7 +40,7 @@
 
 // HW dependent timer initialization
 
-#define DEFINE_TIMER_ISR     void timer_isr(void)
+#define DEFINE_TIMER_ISR     DECLARE_ISR_CONTEXT_SWITCH(timer_isr)
 #define TIMER_TICKS_PER_SEC  250
 #define TIMER_HW_CNT         (1<<31) /* We assume 32bit integers here */