Implement "@@NOSEND@@" in generated drivers
This commit is contained in:
@ -782,7 +782,9 @@ def put_write_function(MyDriver, func):
|
||||
txt += [' }']
|
||||
txt += [' }']
|
||||
txt += [' debug_log 1 "%s sct send ${cmd}"' % func]
|
||||
txt += [' sct send "${cmd}"']
|
||||
txt += [' if {![string equal -nocase -length 10 ${cmd} "@@NOSEND@@"]} {']
|
||||
txt += [' sct send "${cmd}"']
|
||||
txt += [' }']
|
||||
txt += [' return ${nextState}']
|
||||
txt += ['}']
|
||||
emit(txt)
|
||||
|
Reference in New Issue
Block a user