From 4f4ced3ec06d196aa643f561e766b149a847dc02 Mon Sep 17 00:00:00 2001 From: Vladimir Ermakov Date: Sat, 26 Jan 2019 22:47:03 +0300 Subject: [PATCH] disable serial logging; firmware looks more stable. --- platformio.ini | 6 +++--- src/main.cpp | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/platformio.ini b/platformio.ini index 9ebe68d..c2d2ec6 100644 --- a/platformio.ini +++ b/platformio.ini @@ -17,7 +17,7 @@ lib_deps = Wire FS SPIFFS - freertos + ;freertos HTTPUpdate NTPClient ;ArduinoJson @@ -26,7 +26,7 @@ lib_deps = ;https://github.com/me-no-dev/AsyncTCP.git#idf-update AsyncMqttClient ESP Async WebServer - ESP32 BLE Arduino ;-> In framework BLE + ;ESP32 BLE Arduino ;-> In framework BLE ;BLE ;-> older ;U8g2 ; choose one gfx lib ;Adafruit GFX Library @@ -48,7 +48,7 @@ board_build.partitions = min_spiffs.csv build_flags = !./make_flags.py ;-DCORE_DEBUG_LEVEL=5 ;-DCORE_DEBUG_LEVEL=4 - -DCORE_DEBUG_LEVEL=3 + ;-DCORE_DEBUG_LEVEL=3 ;-DCORE_DEBUG_LEVEL=1 lib_deps = diff --git a/src/main.cpp b/src/main.cpp index 70b6549..cb4f5f6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -73,7 +73,8 @@ static void wifi_init() void setup() { Serial.begin(115200); - log_i("Setup"); + //log_i("Setup"); + Serial.println("Setup"); cfg::init(); uptime::init();