Merge pull request #8705 from gemu2015/scripter-update

scripter call >BS after sensor init
This commit is contained in:
Theo Arends 2020-06-16 13:50:14 +02:00 committed by GitHub
commit 3cb334b14a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -322,6 +322,9 @@ void setup(void) {
XdrvCall(FUNC_INIT); XdrvCall(FUNC_INIT);
XsnsCall(FUNC_INIT); XsnsCall(FUNC_INIT);
#ifdef USE_SCRIPT
Run_Scripter(">BS",3,0);
#endif
rules_flag.system_init = 1; rules_flag.system_init = 1;
} }

View File

@ -120,8 +120,6 @@ uint32_t DecodeLightId(uint32_t hue_id);
#endif #endif
#endif // USE_UNISHOX_COMPRESSION #endif // USE_UNISHOX_COMPRESSION
#define USE_SCRIPT_TIMER
#ifdef USE_SCRIPT_TIMER #ifdef USE_SCRIPT_TIMER
#include <Ticker.h> #include <Ticker.h>
Ticker Script_ticker1; Ticker Script_ticker1;