mirror of https://github.com/ARMmbed/mbed-os.git
fix a bug in greentea-client
reset "LastChar" after "tok_close" received fix the bug where greentea-client require a character input between K-V pairspull/6865/head
parent
634774f45f
commit
d48d3aff2b
|
@ -728,6 +728,7 @@ static int gettok(char *out_str, const int str_size) {
|
|||
if (LastChar == '}') {
|
||||
LastChar = greentea_getc();
|
||||
if (LastChar == '}') {
|
||||
LastChar = '!';
|
||||
return tok_close;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue