modify Sysinfo

This commit is contained in:
Philipp Harsch
2020-09-29 02:54:18 +02:00
parent 5d2e22cd86
commit b54d6e785d
4 changed files with 6 additions and 5 deletions

View File

@@ -220,7 +220,7 @@ esp_err_t sysinfo_handler(httpd_req_t *req)
ESP_ERROR_CHECK(tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ip_info));
const char *hostname;
ESP_ERROR_CHECK(tcpip_adapter_get_hostname(TCPIP_ADAPTER_IF_STA, &hostname));
zw = "[\
{\
\"firmware\" : \"" + gitversion + "\",\

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="964486a+";
const char* GIT_REV="5d2e22c+";
const char* GIT_TAG="";
const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2020-09-29 01:57";
const char* BUILD_TIME="2020-09-29 02:43";

View File

@@ -56,6 +56,7 @@ std::string getHTMLversion(void){
char zw[1024];
fgets(zw, 1024, pFile);
line = std::string(trim(zw));
fclose(pFile);
return line;
}

View File

@@ -1,4 +1,4 @@
const char* GIT_REV="964486a+";
const char* GIT_REV="5d2e22c+";
const char* GIT_TAG="";
const char* GIT_BRANCH="rolling";
const char* BUILD_TIME="2020-09-29 01:57";
const char* BUILD_TIME="2020-09-29 02:43";