Update xdrv_10_scripter.ino

This commit is contained in:
gemu2015 2020-04-15 08:21:43 +02:00
parent 5f6c106507
commit 7d85ccb793
1 changed files with 2 additions and 0 deletions

View File

@ -4854,11 +4854,13 @@ bool Xdrv10(uint8_t function)
switch (function) { switch (function) {
case FUNC_PRE_INIT: case FUNC_PRE_INIT:
/*
#ifdef USE_WEBCAM #ifdef USE_WEBCAM
if (Settings.module==ESP32_CAM_AITHINKER) { if (Settings.module==ESP32_CAM_AITHINKER) {
webcam_setup(); webcam_setup();
} }
#endif #endif
*/
// set defaults to rules memory // set defaults to rules memory
glob_script_mem.script_ram=Settings.rules[0]; glob_script_mem.script_ram=Settings.rules[0];
glob_script_mem.script_size=MAX_SCRIPT_SIZE; glob_script_mem.script_size=MAX_SCRIPT_SIZE;