fix typo in tmr.h (which cause tmr_enable register to have the wrong

address)
This commit is contained in:
Mariano Alvira 2010-03-17 15:55:04 -04:00
parent a5eadcf5a9
commit 407fda80e0

View File

@ -22,7 +22,7 @@
#define TMR_REGOFF_ENBL (0x1e) #define TMR_REGOFF_ENBL (0x1e)
/* one enable register to rule them all */ /* one enable register to rule them all */
#define TMR_ENBL ((volatile uint16_t *) TMR0_BASE + TMR_REGOFF_ENBL) #define TMR_ENBL ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_ENBL))
/* Timer 0 registers */ /* Timer 0 registers */
#define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1)) #define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1))