altos/stm: Fix typo in stm32l.h
authorKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:22:00 +0000 (22:22 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 27 Jan 2015 06:22:00 +0000 (22:22 -0800)
This crept in while working on the stmf0 bits. oops.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/stm/stm32l.h

index c5c28e76a584f9d62b831b37c730aee4fdca8f6b..799cccbd2a1848bd9510ad0aa1f62d2cea857ee3 100644 (file)
@@ -1515,7 +1515,7 @@ extern struct stm_dbg_mcu stm_dbg_mcu;
 
 static inline uint16_t
 stm_dev_id(void) {
 
 static inline uint16_t
 stm_dev_id(void) {
-       return stm_dbgmcu.idcode & 0xfff;
+       return stm_dbg_mcu.idcode & 0xfff;
 }
 
 struct stm_flash_size {
 }
 
 struct stm_flash_size {