diff options
Diffstat (limited to 'nuttx/arch/arm/src/common/up_arch.h')
-rw-r--r-- | nuttx/arch/arm/src/common/up_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/common/up_arch.h b/nuttx/arch/arm/src/common/up_arch.h index 071e60d67..eb4770686 100644 --- a/nuttx/arch/arm/src/common/up_arch.h +++ b/nuttx/arch/arm/src/common/up_arch.h @@ -84,7 +84,7 @@ static inline void putreg16(uint16 val, unsigned int addr) /* Most DM320 registers are 16-bits wide */ -#define getreg(a) getreg16(1) +#define getreg(a) getreg16(a) #define putreg(v,a) putreg16(v,a) #endif |