fix typo in tmr.h (which cause tmr_enable register to have the wrong
address)
This commit is contained in:
parent
a5eadcf5a9
commit
407fda80e0
|
@ -22,7 +22,7 @@
|
|||
#define TMR_REGOFF_ENBL (0x1e)
|
||||
|
||||
/* 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 */
|
||||
#define TMR0_COMP1 ((volatile uint16_t *) (TMR0_BASE + TMR_REGOFF_COMP1))
|
||||
|
|
Loading…
Reference in a new issue