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/6950/head
parent
a000474b89
commit
81a01b87fa
|
@ -728,6 +728,7 @@ static int gettok(char *out_str, const int str_size) {
|
||||||
if (LastChar == '}') {
|
if (LastChar == '}') {
|
||||||
LastChar = greentea_getc();
|
LastChar = greentea_getc();
|
||||||
if (LastChar == '}') {
|
if (LastChar == '}') {
|
||||||
|
LastChar = '!';
|
||||||
return tok_close;
|
return tok_close;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue