fix typo in stm32l0x flash loader
authorRobin Kreis <r.kreis@uni-bremen.de>
Tue, 28 Apr 2015 20:37:01 +0000 (22:37 +0200)
committerRobin Kreis <r.kreis@uni-bremen.de>
Tue, 28 Apr 2015 20:37:01 +0000 (22:37 +0200)
The typo caused errors when flashing an stm32l052.  This commit makes
stlink-common.c match flashloaders/stm32l0x.s.

src/stlink-common.c

index 4599e6aa8acd924591453a33993e401d81e3f511..962cddbf54dddba7f38ad13b09cc9d7006500810 100644 (file)
@@ -1339,7 +1339,7 @@ int write_loader_to_sram(stlink_t *sl, stm32_addr_t* addr, size_t* size) {
         0x04, 0xe0,
 
         0x0c, 0x68,
-        0x04, 0x66,
+        0x04, 0x60,
         0x01, 0x33,
         0x04, 0x31,
         0x04, 0x30,