Skip to content

Commit 9d534af

Browse files
Fix: RxTxApp requires a JSON url parameter (#1135)
Change the parser to accept the lack of a URL parameter for rx session, as we can ignore the input and no json examples have this included. fixes: 353b64b
1 parent f481558 commit 9d534af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/tools/RxTxApp/src/parse_json.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2091,7 +2091,9 @@ static int st_json_parse_rx_st20p(int idx, json_object* st20p_obj,
20912091

20922092
/* parse st20p url */
20932093
ret = parse_url(st20p_obj, "st20p_url", st20p->info.st20p_url);
2094-
if (ret < 0) return ret;
2094+
if (ret < 0) {
2095+
info("%s, no st20p url no file will be saved\n", __func__);
2096+
}
20952097

20962098
/* parse display option */
20972099
st20p->display =

0 commit comments

Comments
 (0)