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