From 8d8418c8f0bd1f58eb6410c0d7e0695b29d2c15c Mon Sep 17 00:00:00 2001 From: Bogdan Pilyugin Date: Fri, 3 Mar 2023 16:25:50 +0200 Subject: [PATCH 1/2] conditional build added for gsm AT commands debug --- src/HTTPPostSystem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/HTTPPostSystem.c b/src/HTTPPostSystem.c index 28cd36b..c406f46 100644 --- a/src/HTTPPostSystem.c +++ b/src/HTTPPostSystem.c @@ -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; From 8ef70ab87a7a9b3906a523aae36b1ad2590da998 Mon Sep 17 00:00:00 2001 From: bogd Date: Sun, 5 Mar 2023 12:59:14 +0200 Subject: [PATCH 2/2] uppercase header fixed --- extlibs/libespfs | 2 +- src/HTTPPrintSystem.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extlibs/libespfs b/extlibs/libespfs index a646e3e..03ff681 160000 --- a/extlibs/libespfs +++ b/extlibs/libespfs @@ -1 +1 @@ -Subproject commit a646e3ee0594ec2301e9b3fe6373ea274eb39e39 +Subproject commit 03ff681a61cb03a43c6f008601a6e6090e9df2bd diff --git a/src/HTTPPrintSystem.c b/src/HTTPPrintSystem.c index d62da8f..4591edc 100644 --- a/src/HTTPPrintSystem.c +++ b/src/HTTPPrintSystem.c @@ -27,7 +27,7 @@ #include "esp_wifi.h" #include "NetTransport.h" #include "esp_ota_ops.h" -#include "ROMFS.h" +#include "romfs.h" #include "esp_idf_version.h" #include "jWrite.h"