diff --git a/source/lib/hal_mcu/hal_fr5_timer.c b/source/lib/hal_mcu/hal_fr5_timer.c index 57787e2db368d5f178c81607b2078d3e6df2dc48..5b73f3eab873b9fab0ab082315437e1250d3c3ce 100644 --- a/source/lib/hal_mcu/hal_fr5_timer.c +++ b/source/lib/hal_mcu/hal_fr5_timer.c @@ -41,31 +41,8 @@ #include "msp430.h" #include "hal_timer.h" -//#include "../radio_drv/hal_types.h" -/******************************************************************************* -* GNU GCC specifics -*/ -#if defined __GNUC__ - -#define CODE -#define XDATA -#define FAR -#define NOP() __no_operation() -#define HAL_ISR_FUNC_DECLARATION(f,v) \ - void __attribute__((interrupt(v ## _VECTOR),used)) f(void) -#define HAL_ISR_FUNC_PROTOTYPE(f,v) \ - void __attribute__((interrupt(v ## _VECTOR),used)) f(void) -#define HAL_ISR_FUNCTION(f,v) \ - HAL_ISR_FUNC_PROTOTYPE(f,v); HAL_ISR_FUNC_DECLARATION(f,v) - -typedef unsigned short istate_t; - -/******************************************************************************* -* Other compilers -*/ -#else -#error "Unsupported compiler" -#endif +#include "../radio_drv/hal_types.h" + unsigned char volatile timer_event; unsigned long volatile time_counter = 0;