summaryrefslogtreecommitdiff
path: root/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/lm3s8962-ek/src/up_ethernet.c')
-rw-r--r--nuttx/configs/lm3s8962-ek/src/up_ethernet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/lm3s8962-ek/src/up_ethernet.c b/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
index 0d73233a4..63c681af9 100644
--- a/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
+++ b/nuttx/configs/lm3s8962-ek/src/up_ethernet.c
@@ -80,8 +80,8 @@ void lm_ethernetmac(struct ether_addr *ethaddr)
/* Get the current value of the user registers */
- user0 = getreg32(LM3S_FLASH_USERREG0);
- user1 = getreg32(LM3S_FLASH_USERREG1);
+ user0 = getreg32(LM_FLASH_USERREG0);
+ user1 = getreg32(LM_FLASH_USERREG1);
nlldbg("user: %06x:%06x\n", user1 & 0x00ffffff, user0 & 0x00ffffff);
DEBUGASSERT(user0 != 0xffffffff && user1 != 0xffffffff);