diff options
author | Keith Packard <keithp@keithp.com> | 2015-01-25 19:58:38 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2015-01-25 19:58:38 -0800 |
commit | 32c68670af9f8aa690c64d64502e559c0df0c1db (patch) | |
tree | 97182ee7a519f7d76c9931f350283adbe5f6340f /src/stm/stm32l.h | |
parent | 02b07a202839d6e68b3f0db7f8965478661db140 (diff) |
ao-tools: Add --wait option to ao-usbload
This waits forever for USB writes to complete, instead of timing out
after five seconds. Useful when debugging the device.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/stm/stm32l.h')
-rw-r--r-- | src/stm/stm32l.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm/stm32l.h b/src/stm/stm32l.h index 799cccbd..c5c28e76 100644 --- a/src/stm/stm32l.h +++ b/src/stm/stm32l.h @@ -1515,7 +1515,7 @@ extern struct stm_dbg_mcu stm_dbg_mcu; static inline uint16_t stm_dev_id(void) { - return stm_dbg_mcu.idcode & 0xfff; + return stm_dbgmcu.idcode & 0xfff; } struct stm_flash_size { |