Fix small typo on ocdconsole.py script

This commit is contained in:
Alan Carvalho de Assis 2019-06-15 19:52:07 -06:00 committed by Gregory Nutt
parent 7b707e636a
commit caaf4ef398

View File

@ -215,7 +215,7 @@ class oocd:
return data
def readVariable(self, address):
raw = self.send("ocd_mdw 0x%x" % address).split(": ")
raw = self.send("mdw 0x%x" % address).split(": ")
return None if (len(raw) < 2) else strToHex(raw[1])
def writeVariable(self, address, value):