tcl/target/eos_s3: fix variable's expansion typo
[fw/openocd] / tcl / target / eos_s3.cfg
index f6016fb30f8ec78876ab52fd1bfe594548df98ff..150ef4e31c56d7b0ee05a9781e280f172c68cd84 100644 (file)
@@ -26,7 +26,7 @@ if { [info exists CPUTAPID] } {
    }
 }
 
-swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id _CPUTAPID
+swj_newdap $_CHIPNAME cpu -irlen 4 -irmask 0xf -expected-id $_CPUTAPID
 dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 
 set _TARGETNAME $_CHIPNAME.cpu