Fix GPIO Not supported message

Fix GPIO Not supported message (#10673)
This commit is contained in:
Theo Arends 2021-01-23 17:59:06 +01:00
parent 26572bb850
commit 5015409af6
1 changed files with 5 additions and 1 deletions

View File

@ -1209,7 +1209,11 @@ void CmndGpio(void)
if (jsflg2) {
ResponseClear();
} else {
ResponseCmndChar(PSTR(D_JSON_NOT_SUPPORTED));
if (jsflg) {
ResponseJsonEnd();
} else {
ResponseCmndChar(D_JSON_NOT_SUPPORTED);
}
}
}
}