mirror of https://github.com/arendst/Tasmota.git
Relax checks of Partition Wizard for newest Shelly (#20349)
This commit is contained in:
parent
4393327bb9
commit
a0f6b7f1a3
|
@ -21,6 +21,7 @@ All notable changes to this project will be documented in this file.
|
|||
### Changed
|
||||
- Support syslog updates every sleep or every second if `#define SYSLOG_UPDATE_SECOND` (#20260)
|
||||
- Moved Berry animate to its own `berry_animate` lib (#20309)
|
||||
- Relax checks of Partition Wizard for newest Shelly
|
||||
|
||||
### Fixed
|
||||
- Matter Contact sensor was not triggering any update (#20232)
|
||||
|
|
Binary file not shown.
|
@ -4,7 +4,7 @@
|
|||
# use : `import partition_wizard`
|
||||
#
|
||||
# Provides low-level objects and a Web UI
|
||||
# rm Partition_Wizard.tapp; zip Partition_Wizard.tapp -j -0 Partition_Wizard/*
|
||||
# rm Partition_Wizard.tapp; zip Partition_Wizard.tapp -j -0 Partition_Wizard/autoexec.be Partition_Wizard/partition_wizard.be
|
||||
#######################################################################
|
||||
|
||||
var partition_wizard = module('partition_wizard')
|
||||
|
@ -480,7 +480,7 @@ class Partition_wizard_UI
|
|||
if safeboot_size > (self.app_size_min * 1024) raise "internal_error", "safeboot is too large "+str(safeboot_size / 1024)+"kB" end
|
||||
tasmota.log(string.format("UPL: flashing `safeboot` from %s %ikB", safeboot_url, (safeboot_size / 1024) + 1), 2)
|
||||
var app0 = p.get_ota_slot(0)
|
||||
if app0.start != 0x10000 raise "internal_error", "`app0` offset is not 0x10000" end
|
||||
# if app0.start != 0x10000 raise "internal_error", "`app0` offset is not 0x10000" end
|
||||
cl.write_flash(app0.start)
|
||||
cl.close()
|
||||
return true
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue