Allow all commands in SafeMode

This commit is contained in:
Theo Arends 2022-05-04 10:19:49 +02:00
parent 35bbb8192c
commit 829d3a49ad
1 changed files with 4 additions and 4 deletions

View File

@ -3420,7 +3420,7 @@ const char kWebCmndStatus[] PROGMEM = D_JSON_DONE "|" D_JSON_WRONG_PARAMETERS "|
const char kWebCommands[] PROGMEM = "|" // No prefix const char kWebCommands[] PROGMEM = "|" // No prefix
D_CMND_WEBLOG "|" D_CMND_WEBLOG "|"
#ifndef FIRMWARE_MINIMAL #ifndef FIRMWARE_MINIMAL_ONLY
D_CMND_WEBTIME "|" D_CMND_WEBTIME "|"
#ifdef USE_EMULATION #ifdef USE_EMULATION
D_CMND_EMULATION "|" D_CMND_EMULATION "|"
@ -3436,12 +3436,12 @@ const char kWebCommands[] PROGMEM = "|" // No prefix
#ifdef USE_CORS #ifdef USE_CORS
"|" D_CMND_CORS "|" D_CMND_CORS
#endif #endif
#endif // FIRMWARE_MINIMAL #endif // FIRMWARE_MINIMAL_ONLY
; ;
void (* const WebCommand[])(void) PROGMEM = { void (* const WebCommand[])(void) PROGMEM = {
&CmndWeblog, &CmndWeblog,
#ifndef FIRMWARE_MINIMAL #ifndef FIRMWARE_MINIMAL_ONLY
&CmndWebTime, &CmndWebTime,
#ifdef USE_EMULATION #ifdef USE_EMULATION
&CmndEmulation, &CmndEmulation,
@ -3457,7 +3457,7 @@ void (* const WebCommand[])(void) PROGMEM = {
#ifdef USE_CORS #ifdef USE_CORS
, &CmndCors , &CmndCors
#endif #endif
#endif // FIRMWARE_MINIMAL #endif // FIRMWARE_MINIMAL_ONLY
}; };
/*********************************************************************************************\ /*********************************************************************************************\