aboutsummaryrefslogtreecommitdiff
path: root/tcl/target/stm32w108xx.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'tcl/target/stm32w108xx.cfg')
-rw-r--r--tcl/target/stm32w108xx.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcl/target/stm32w108xx.cfg b/tcl/target/stm32w108xx.cfg
index 4bc51fc..faea0d8 100644
--- a/tcl/target/stm32w108xx.cfg
+++ b/tcl/target/stm32w108xx.cfg
@@ -38,7 +38,7 @@ if { [info exists ENDIAN] } {
swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
-if {$using_jtag} {
+if {[using_jtag]} {
if { [info exists BSTAPID] } {
set _BSTAPID $BSTAPID
jtag newtap $_CHIPNAME bs -irlen 4 -ircapture 0xe -irmask 0xf -expected-id 0x269a862b