conditional build added for gsm AT commands debug

This commit is contained in:
Bogdan Pilyugin 2023-03-03 16:25:50 +02:00
parent 9d2f6dc3b4
commit 8d8418c8f0

View File

@ -484,9 +484,9 @@ static HTTP_IO_RESULT HTTPPostSystemSettings(httpd_req_t *req, char *PostData)
{
if (!strcmp(tmp, (const char*) "1"))
{
ModemSendAT("AT\r");
return HTTP_IO_DONE_NOREFRESH;
}
#if CONFIG_WEBGUIAPP_GPRS_ENABLE
else if (!strcmp(tmp, (const char*) "2"))
{
ModemSendAT("AT+CCLK?\r");
@ -502,6 +502,7 @@ static HTTP_IO_RESULT HTTPPostSystemSettings(httpd_req_t *req, char *PostData)
ModemSendAT("ATH\r");
return HTTP_IO_DONE_NOREFRESH;
}
#endif
else if (!strcmp(tmp, (const char*) "5"))
{
return HTTP_IO_DONE_NOREFRESH;