tcl: [3/3] prepare for jimtcl 0.81 'expr' syntax change
[fw/openocd] / tcl / chip / atmel / at91 / usarts.tcl
index f840b78c30e036423211297cae1a923f15bfbfb8..253b7fbfcc7cef4c6a60268ea21d9a4f45c132ab 100644 (file)
@@ -63,7 +63,7 @@ proc show_mmr_USx_MR_helper { NAME ADDR VAL } {
     }
     echo [format "\tParity: %s " $s]
 
-    set x [expr 5 + [show_normalize_bitfield $VAL 7 6]]
+    set x [expr {5 + [show_normalize_bitfield $VAL 7 6]}]
     echo [format "\tDatabits: %d" $x]
 
     set x [show_normalize_bitfield $VAL 13 12]