mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 05:36:39 +00:00
Improve init behavior (#20548)
Ensure filesystem init is executed after so80 1. The shutter command will check for proper init and if not done will do it.
This commit is contained in:
parent
05014d48cf
commit
8223777e4f
@ -2312,6 +2312,11 @@ bool Xdrv27(uint32_t function)
|
||||
XdrvMailbox.index = i;
|
||||
XdrvMailbox.payload = rescue_payload;
|
||||
XdrvMailbox.data_len = rescue_data_len;
|
||||
if (!ShutterSettings.version) {
|
||||
ShutterSettingsLoad(0);
|
||||
ShutterSettings.shutter_startrelay[0] = 1;
|
||||
ShutterInit();
|
||||
}
|
||||
result = DecodeCommand(kShutterCommands, ShutterCommand);
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user