mirror of https://github.com/arendst/Tasmota.git
Merge pull request #8705 from gemu2015/scripter-update
scripter call >BS after sensor init
This commit is contained in:
commit
3cb334b14a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue