Allow sendterminator and replyterminator in .ini file
This commit is contained in:
@@ -1747,8 +1747,14 @@ def put_read_config(MyDriver):
|
||||
txt += [' } else {']
|
||||
txt += [' set asyncprotocol ${name}_protocol']
|
||||
txt += [' MakeAsyncProtocol ${asyncprotocol}']
|
||||
txt += [' if { [dict exists $v "terminator"] } {']
|
||||
txt += [' if { [dict exists $v "sendterminator"] } {']
|
||||
txt += [' ${asyncprotocol} sendterminator "[dict get $v "sendterminator"]"']
|
||||
txt += [' } elseif { [dict exists $v "terminator"] } {']
|
||||
txt += [' ${asyncprotocol} sendterminator "[dict get $v "terminator"]"']
|
||||
txt += [' }']
|
||||
txt += [' if { [dict exists $v "replyterminator"] } {']
|
||||
txt += [' ${asyncprotocol} replyterminator "[dict get $v "replyterminator"]"']
|
||||
txt += [' } elseif { [dict exists $v "terminator"] } {']
|
||||
txt += [' ${asyncprotocol} replyterminator "[dict get $v "terminator"]"']
|
||||
txt += [' }']
|
||||
txt += [' }']
|
||||
|
||||
Reference in New Issue
Block a user