From c71a0243ffab778aa4f2366d16672980ad760053 Mon Sep 17 00:00:00 2001 From: maralvira Date: Sun, 7 Nov 2010 14:16:28 +0000 Subject: [PATCH] Add missing type for TMR0_COMP2 --- cpu/mc1322x/lib/include/tmr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu/mc1322x/lib/include/tmr.h b/cpu/mc1322x/lib/include/tmr.h index 1d0168133..a539f0e16 100644 --- a/cpu/mc1322x/lib/include/tmr.h +++ b/cpu/mc1322x/lib/include/tmr.h @@ -30,7 +30,7 @@ * This file is part of libmc1322x: see http://mc1322x.devl.org * for details. * - * $Id: tmr.h,v 1.2 2010/11/07 14:04:59 maralvira Exp $ + * $Id: tmr.h,v 1.3 2010/11/07 14:16:28 maralvira Exp $ */ #include "utils.h" @@ -62,7 +62,7 @@ /* Timer 0 registers */ #define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1)) #define TMR0_COMP_UP TMR0_COMP1 -#define TMR0_COMP2 (TMR0_BASE + TMR_REGOFF_COMP2) +#define TMR0_COMP2 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP2)) #define TMR0_COMP_DOWN TMR0_COMP2 #define TMR0_CAPT ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_CAPT)) #define TMR0_LOAD ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_LOAD))