From 1059b69fbe7b5496ac4560c954b7e80155be4920 Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Thu, 12 Oct 2023 20:52:35 +0200 Subject: [PATCH] removed repeated block on the last LoRA merge --- src/main.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index bb1f4856..67bc182e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -339,30 +339,18 @@ void setup() { // enabling CLI interface logMemoryObjects(); -#ifdef LORADEVKIT + #ifdef LORADEVKIT LoRaWANSetup(); - #endif - logMemory("LORAWAN"); -#ifndef DISABLE_CLI - cliTaskInit(); - logMemory("CLITASK"); - Serial.println("\n==>[INFO] Setup End. CLI enable. Press ENTER ===\r\n"); - #else - Serial.println("\n==>[INFO] Setup End. ===\r\n"); #endif -#ifndef DISABLE_CLI + #ifndef DISABLE_CLI cliTaskInit(); logMemory("CLITASK"); Serial.println("\n==>[INFO] Setup End. CLI enable. Press ENTER ===\r\n"); #else Serial.println("\n==>[INFO] Setup End. ===\r\n"); #endif - - - - } void loop() {