From 8a19674b0ebab4a3e6a8a89e6b3cfab41d65a317 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 14 Jan 2024 14:14:27 +0700 Subject: [PATCH] Update main.cpp --- src/main.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 76bad62..590a374 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -107,16 +107,16 @@ void setup() Serial.print("boot_state.txt=\"Core Initializing . . .\""); sendStopBytes(); espmega.begin(); - if (clear_fram) - { - Serial.print("boot_state.txt=\"Factory Resetting . . .\""); - sendStopBytes(); - for (uint16_t i = 0; i < 32768; i++) - { - espmega.fram.write8(i, 0); - } - esp_restart(); - } + // if (clear_fram) + // { + // Serial.print("boot_state.txt=\"Factory Resetting . . .\""); + // sendStopBytes(); + // for (uint16_t i = 0; i < 32768; i++) + // { + // espmega.fram.write8(i, 0); + // } + // esp_restart(); + // } Serial.print("boot_state.txt=\"IoT Initializing . . .\""); sendStopBytes(); espmega.enableIotModule();