Skip to content

Commit

Permalink
Update texts
Browse files Browse the repository at this point in the history
  • Loading branch information
Slider0007 committed Nov 2, 2024
1 parent 41eab6d commit 10141a9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion code/components/mainprocess_ctrl/MainFlowControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ void task_autodoFlow(void *pvParameter)
// ********************************************
else if (taskAutoFlowState == FLOW_TASK_STATE_IMG_PROCESSING) {
// Clear separation between runs
LogFile.writeToFile(ESP_LOG_DEBUG, TAG, "----------------------------------------------------------------");
LogFile.writeToFile(ESP_LOG_DEBUG, TAG, "--------------------------------");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "Cycle #" + std::to_string(++cycleCounter) + " started");
cycleStartTime = getUptime();
cylceStartActualTime = esp_timer_get_time();
Expand Down
6 changes: 3 additions & 3 deletions code/components/time_sntp/time_sntp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ void setTimeZone(std::string _tzstring)
void timeSyncNotificationCallback(struct timeval *tv)
{
if (timeWasNotSetAtBoot_PrintStartBlock) {
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=======================================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=============== Start =================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=== Before sync: log_1970-01-01.txt ===");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "===================================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "============== Start ==============");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "= Before sync: log_1970-01-01.txt =");
timeWasNotSetAtBoot_PrintStartBlock = false;
}
LogFile.writeToFile(ESP_LOG_INFO, TAG, "Time is synced with NTP server " +
Expand Down
8 changes: 4 additions & 4 deletions code/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extern "C" void app_main(void)
// ********************************************
// Highlight start of app_main
// ********************************************
ESP_LOGI(TAG, "=========== Start app_main ============");
ESP_LOGI(TAG, "========= Start app_main ==========");

// Init NVS flash
// ********************************************
Expand All @@ -92,9 +92,9 @@ extern "C" void app_main(void)
// Highlight start of logfile logging
// Default Log Level: INFO -> Everything which needs to be logged during boot should be have level INFO, WARN OR ERROR
// ********************************************
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=======================================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=============== Start =================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "=======================================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "===================================");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "============== Start ==============");
LogFile.writeToFile(ESP_LOG_INFO, TAG, "===================================");

// SD card: Create further mandatory directories (if not already existing)
// Correct creation of these folders will be checked with function "checkSdCardFolderFilePresence"
Expand Down

0 comments on commit 10141a9

Please sign in to comment.