mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Fixed void unwanted OTA upgrade when safeboot starts for the first time (#21360)
This commit is contained in:
parent
73b0ec2c1d
commit
3d0532ce8c
@ -44,6 +44,7 @@ All notable changes to this project will be documented in this file.
|
||||
- Berry `math.inf`, `math.isinf()` and fixed json ouput for `inf` and `nan` (#21304)
|
||||
- Compilation of Ethernet when SPI drivers are disabled (#21321)
|
||||
- Conflicting log_level definitions in NimBLE (#21337)
|
||||
- Avoid unwanted OTA upgrade when safeboot starts for the first time
|
||||
|
||||
### Removed
|
||||
- LVGL disabled vector graphics (#21242)
|
||||
|
@ -177,7 +177,7 @@ void QPCWrite(const void *pSettings, unsigned nSettingsLen) {
|
||||
}
|
||||
|
||||
bool OtaFactoryRead(void) {
|
||||
uint32_t pOtaLoader;
|
||||
uint32_t pOtaLoader = 0;
|
||||
NvmLoad("otal", "otal", &pOtaLoader, sizeof(pOtaLoader));
|
||||
return pOtaLoader;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user