Fix incorrect size of GBA timer registers in test code
This commit is contained in:
parent
8ac06890b7
commit
8ea2cb9d49
@ -3,11 +3,11 @@
|
|||||||
#ifdef __GBA__
|
#ifdef __GBA__
|
||||||
|
|
||||||
#ifndef REG_TM2D
|
#ifndef REG_TM2D
|
||||||
#define REG_TM2D *(volatile uint32_t*)(0x04000108)
|
#define REG_TM2D *(volatile uint16_t*)(0x04000108)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef REG_TM2CNT
|
#ifndef REG_TM2CNT
|
||||||
#define REG_TM2CNT *(volatile uint32_t*)(0x0400010A)
|
#define REG_TM2CNT *(volatile uint16_t*)(0x0400010A)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef TM_ENABLE
|
#ifndef TM_ENABLE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user