mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
scripts: fix stm32_mem.py for python 3
Python 3 does not accept a characters string where a bytes string is needed.
This commit is contained in:

committed by
Piotr Esden-Tempski

parent
8def28dee9
commit
ad6c1eb11b
@@ -72,7 +72,7 @@ def stm32_read(dev):
|
||||
return data
|
||||
|
||||
def stm32_manifest(dev):
|
||||
dev.download(0, "")
|
||||
dev.download(0, b"")
|
||||
while True:
|
||||
try:
|
||||
status = dev.get_status()
|
||||
|
Reference in New Issue
Block a user