Merge pull request #13247 from jamesbeyond/greentea_fix

GreenTea: Fix inconsistency of  Greentea KV message
pull/13229/head
Martin Kojtal 2020-07-09 10:50:03 +02:00 committed by GitHub
commit a2b79803af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -740,6 +740,7 @@ static int gettok(char *out_str, const int str_size) {
if (LastChar == '}') {
LastChar = greentea_getc();
if (LastChar == '}') {
greentea_getc(); //offset the extra '\n' send by Greentea python tool
LastChar = '!';
return tok_close;
}