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