Skip to content

Commit

Permalink
modify the info json object for consistency with status
Browse files Browse the repository at this point in the history
  • Loading branch information
damancusonqn committed Mar 26, 2020
1 parent 3278ca3 commit c8c92a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/thConfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ static void jsonPrintStatus(void)

static void jsonPrintDevInfo(void)
{
uprintf("{\"device\":\"%s\",\"serial\":\"%s\",\"firmware\":\"%d.%d.%d\"}\r\n",
uprintf("{\"info\":{\"device\":\"%s\",\"serial\":\"%s\",\"firmware\":\"%d.%d.%d\"}}\r\n",
HW_ID,
thConfig.serialNumberStr,
VERSION_MAJOR,
Expand Down

0 comments on commit c8c92a0

Please sign in to comment.