mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
Fix small typo on ocdconsole.py script
This commit is contained in:
committed by
Gregory Nutt
parent
7b707e636a
commit
caaf4ef398
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user