TCL scripts: fix ocd_mem2array/mem2array
In previous patch, I have introduced again the symbol "ocd_mem2array", now replaced by "mem2array". Fix the error. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
45e5d1d90a
commit
ecad76061f
|
@ -3,7 +3,7 @@
|
||||||
# mrw: "memory read word", returns value of $reg
|
# mrw: "memory read word", returns value of $reg
|
||||||
proc mrw {reg} {
|
proc mrw {reg} {
|
||||||
set value ""
|
set value ""
|
||||||
ocd_mem2array value 32 $reg 1
|
mem2array value 32 $reg 1
|
||||||
return $value(0)
|
return $value(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue