read_sdc use cmd_mode

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry
2026-05-05 20:31:39 -07:00
parent fa3c89f436
commit 2a2450f4b7
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ See ApiChangeLog.txt for changes to the STA api.
The write_sdc command supports a -mode argument.
read_sdc [-mode mode]
write_sdc [-mode mode]
2026/03/23
----------

View File

@@ -45,7 +45,7 @@ proc_redirect read_sdc {
if { [info exists keys(-mode)] } {
set mode_name $keys(-mode)
set prev_mode [cmd_mode_name]
set prev_mode [cmd_mode]
try {
set_cmd_mode $mode_name
include_file $filename $echo 0