mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 08:49:52 +03:00
allow test with EMSESP_DEBUG
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#include "emsesp.h"
|
#include "emsesp.h"
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
#ifdef EMSESP_STANDALONE
|
#if defined(EMSESP_DEBUG)
|
||||||
#include "test/test.h"
|
#include "test/test.h"
|
||||||
#endif
|
#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
|
// each custom context has the common commands like log, help, exit, su etc
|
||||||
void Console::load_standard_commands(unsigned int context) {
|
void Console::load_standard_commands(unsigned int context) {
|
||||||
#ifdef EMSESP_STANDALONE
|
#if defined(EMSESP_DEBUG)
|
||||||
EMSESPShell::commands->add_command(context,
|
EMSESPShell::commands->add_command(context,
|
||||||
CommandFlags::USER,
|
CommandFlags::USER,
|
||||||
flash_string_vector{F_(test)},
|
flash_string_vector{F_(test)},
|
||||||
|
|||||||
Reference in New Issue
Block a user