From 6c11b717ce34956f9305371dccaf3e40777cc2d8 Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 7 Aug 2020 14:12:58 +0200 Subject: [PATCH] allow test with EMSESP_DEBUG --- src/console.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/console.cpp b/src/console.cpp index a81fd6cad..8a198ea13 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -20,7 +20,7 @@ #include "emsesp.h" #include "version.h" -#ifdef EMSESP_STANDALONE +#if defined(EMSESP_DEBUG) #include "test/test.h" #endif @@ -289,7 +289,7 @@ void Console::enter_custom_context(Shell & shell, unsigned int context) { // each custom context has the common commands like log, help, exit, su etc void Console::load_standard_commands(unsigned int context) { -#ifdef EMSESP_STANDALONE +#if defined(EMSESP_DEBUG) EMSESPShell::commands->add_command(context, CommandFlags::USER, flash_string_vector{F_(test)},