kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
stop autobug spam about misformatted spiffs partitions
rodzic
0f384fc62f
commit
384cb5cdc0
|
@ -297,8 +297,8 @@ class SoftwareUpdateService : JobIntentService(), Logging {
|
||||||
// If we can't update spiffs (because not supported by target), do not fail
|
// If we can't update spiffs (because not supported by target), do not fail
|
||||||
errormsg("Ignoring failure to update spiffs on old appload")
|
errormsg("Ignoring failure to update spiffs on old appload")
|
||||||
} catch (_: DeviceRejectedException) {
|
} catch (_: DeviceRejectedException) {
|
||||||
// the spi filesystem of this device is malformatted
|
// the spi filesystem of this device is malformatted, fail silently because most users don't need the web server
|
||||||
reportError("Device rejected invalid spiffs partition")
|
errormsg("Device rejected invalid spiffs partition")
|
||||||
}
|
}
|
||||||
|
|
||||||
assets.appLoad?.let { doUpdate(context, sync, it, FLASH_REGION_APPLOAD) }
|
assets.appLoad?.let { doUpdate(context, sync, it, FLASH_REGION_APPLOAD) }
|
||||||
|
|
Ładowanie…
Reference in New Issue