mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-16 08:26:52 +03:00
rotation of image log files implemented
improved rotation of message log files implement deletion of temp images before start new flow a little bit code cleaning
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
#include <esp_http_server.h>
|
||||
|
||||
static const char *TAG = "server-main";
|
||||
|
||||
extern httpd_handle_t server;
|
||||
|
||||
httpd_handle_t start_webserver(void);
|
||||
|
||||
@@ -58,7 +58,8 @@ void doInit(void)
|
||||
|
||||
bool doflow(void)
|
||||
{
|
||||
std::string zw_time = gettimestring("%Y%m%d-%H%M%S");
|
||||
|
||||
std::string zw_time = gettimestring(LOGFILE_TIME_FORMAT);
|
||||
printf("doflow - start %s\n", zw_time.c_str());
|
||||
flowisrunning = true;
|
||||
tfliteflow.doFlow(zw_time);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
const char* GIT_REV="05a0f6f";
|
||||
const char* GIT_REV="acc7253";
|
||||
const char* GIT_TAG="";
|
||||
const char* GIT_BRANCH="master";
|
||||
const char* BUILD_TIME="2020-11-06 17:57";
|
||||
const char* BUILD_TIME="2020-11-09 00:12";
|
||||
Reference in New Issue
Block a user