mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-12 06:27:01 +03:00
modify Sysinfo
This commit is contained in:
@@ -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 + "\",\
|
||||
|
||||
@@ -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";
|
||||
@@ -56,6 +56,7 @@ std::string getHTMLversion(void){
|
||||
char zw[1024];
|
||||
fgets(zw, 1024, pFile);
|
||||
line = std::string(trim(zw));
|
||||
fclose(pFile);
|
||||
|
||||
return line;
|
||||
}
|
||||
@@ -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";
|
||||
Reference in New Issue
Block a user