mirror of https://github.com/arendst/Tasmota.git
Added required hooks
This commit is contained in:
parent
b966a5a933
commit
d16cdb108c
|
@ -207,6 +207,7 @@ void SetDevicePower(power_t rpower, uint32_t source)
|
|||
|
||||
XdrvMailbox.index = rpower;
|
||||
XdrvCall(FUNC_SET_POWER); // Signal power state
|
||||
XsnsCall(FUNC_SET_POWER); // Signal power state
|
||||
|
||||
XdrvMailbox.index = rpower;
|
||||
XdrvMailbox.payload = source;
|
||||
|
@ -1746,4 +1747,5 @@ void GpioInit(void)
|
|||
SetLedLink(Settings.ledstate &8);
|
||||
|
||||
XdrvCall(FUNC_PRE_INIT);
|
||||
XsnsCall(FUNC_PRE_INIT);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue