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() {