From 16d0758ea368ebd7e3c80fa68ac551e3204769e2 Mon Sep 17 00:00:00 2001 From: CaCO3 Date: Sun, 4 Dec 2022 15:43:44 +0100 Subject: [PATCH] remove redundant log text ("5 minutes delay" gets loged further down already. (#1480) Co-authored-by: CaCO3 --- code/components/jomjol_mqtt/interface_mqtt.cpp | 2 +- code/main/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/components/jomjol_mqtt/interface_mqtt.cpp b/code/components/jomjol_mqtt/interface_mqtt.cpp index cfa99348..0c4b0ab2 100644 --- a/code/components/jomjol_mqtt/interface_mqtt.cpp +++ b/code/components/jomjol_mqtt/interface_mqtt.cpp @@ -10,7 +10,7 @@ //#define DEBUG_DETAIL_ON -static const char *TAG = "MQTT INTERFACE"; +static const char *TAG = "MQTT IF"; std::map>* connectFunktionMap = NULL; std::map>* subscribeFunktionMap = NULL; diff --git a/code/main/main.cpp b/code/main/main.cpp index 8c8a650e..e97236e9 100644 --- a/code/main/main.cpp +++ b/code/main/main.cpp @@ -213,7 +213,7 @@ extern "C" void app_main(void) vTaskDelay( xDelay ); if (!setup_time()) { - LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "NTP Initialization failed. Will restart in 5 minutes!"); + LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "NTP Initialization failed!"); initSucessful = false; } @@ -248,14 +248,14 @@ extern "C" void app_main(void) vTaskDelay( xDelay ); if (camStatus != ESP_OK) { - LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Failed to initialize camera module. Will restart in 5 minutes!"); + LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Failed to initialize camera module!"); LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Check that your camera module is working and connected properly!"); initSucessful = false; } } else { // Test Camera camera_fb_t * fb = esp_camera_fb_get(); if (!fb) { - LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Camera Framebuffer cannot be initialzed. Will restart in 5 minutes!"); + LogFile.WriteToFile(ESP_LOG_ERROR, TAG, "Camera Framebuffer cannot be initialized!"); initSucessful = false; } else {