mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-29 13:46:37 +00:00
Change message `Upload buffer miscompare
into
Not enough space
`
This commit is contained in:
parent
80d5a143a5
commit
3d37712b27
@ -13,6 +13,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- ESP32 core library from v1.0.7.1 to v1.0.7.3
|
- ESP32 core library from v1.0.7.1 to v1.0.7.3
|
||||||
- Disable PSRAM on unsupported hardware
|
- Disable PSRAM on unsupported hardware
|
||||||
- Replace spaces by hyphens in final hostname (#12710)
|
- Replace spaces by hyphens in final hostname (#12710)
|
||||||
|
- Message ``Upload buffer miscompare`` into ``Not enough space``
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Discovery fails when using ``%hostname%`` in a topic (#12710)
|
- Discovery fails when using ``%hostname%`` in a topic (#12710)
|
||||||
|
@ -116,6 +116,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl http://ota.tasmo
|
|||||||
### Changed
|
### Changed
|
||||||
- ESP32 core library from v1.0.6 to v1.0.7.3
|
- ESP32 core library from v1.0.6 to v1.0.7.3
|
||||||
- IRremoteESP8266 library from v2.7.18 to v2.7.19
|
- IRremoteESP8266 library from v2.7.18 to v2.7.19
|
||||||
|
- Message ``Upload buffer miscompare`` into ``Not enough space``
|
||||||
- ESP32 Ethernet Phy Type information to IDF v3+
|
- ESP32 Ethernet Phy Type information to IDF v3+
|
||||||
- Speed up initial GUI console refresh
|
- Speed up initial GUI console refresh
|
||||||
- Enable UFILESYS, GUI_TRASH_FILE and GUI_EDIT_FILE for any device compiled with more than 1M flash size
|
- Enable UFILESYS, GUI_TRASH_FILE and GUI_EDIT_FILE for any device compiled with more than 1M flash size
|
||||||
|
@ -390,7 +390,8 @@ const char kLoggingLevels[] PROGMEM = D_NONE "|" D_ERROR "|" D_INFO "|" D_DEBUG
|
|||||||
const char kEmulationOptions[] PROGMEM = D_NONE "|" D_BELKIN_WEMO "|" D_HUE_BRIDGE;
|
const char kEmulationOptions[] PROGMEM = D_NONE "|" D_BELKIN_WEMO "|" D_HUE_BRIDGE;
|
||||||
|
|
||||||
const char kUploadErrors[] PROGMEM =
|
const char kUploadErrors[] PROGMEM =
|
||||||
D_UPLOAD_ERR_1 "|" D_UPLOAD_ERR_2 "|" D_UPLOAD_ERR_3 "|" D_UPLOAD_ERR_4 "|" D_UPLOAD_ERR_5 "|" D_UPLOAD_ERR_6 "|" D_UPLOAD_ERR_7 "|" D_UPLOAD_ERR_8 "|" D_UPLOAD_ERR_9;
|
// D_UPLOAD_ERR_1 "|" D_UPLOAD_ERR_2 "|" D_UPLOAD_ERR_3 "|" D_UPLOAD_ERR_4 "|" D_UPLOAD_ERR_5 "|" D_UPLOAD_ERR_6 "|" D_UPLOAD_ERR_7 "|" D_UPLOAD_ERR_8 "|" D_UPLOAD_ERR_9;
|
||||||
|
D_UPLOAD_ERR_1 "|" D_UPLOAD_ERR_2 "|" D_UPLOAD_ERR_3 "|" D_UPLOAD_ERR_4 "| |" D_UPLOAD_ERR_6 "|" D_UPLOAD_ERR_7 "|" D_UPLOAD_ERR_8 "|" D_UPLOAD_ERR_9;
|
||||||
|
|
||||||
const uint16_t DNS_PORT = 53;
|
const uint16_t DNS_PORT = 53;
|
||||||
enum HttpOptions {HTTP_OFF, HTTP_USER, HTTP_ADMIN, HTTP_MANAGER, HTTP_MANAGER_RESET_ONLY};
|
enum HttpOptions {HTTP_OFF, HTTP_USER, HTTP_ADMIN, HTTP_MANAGER, HTTP_MANAGER_RESET_ONLY};
|
||||||
@ -2722,7 +2723,8 @@ void HandleUploadLoop(void) {
|
|||||||
}
|
}
|
||||||
#endif // USE_WEB_FW_UPGRADE
|
#endif // USE_WEB_FW_UPGRADE
|
||||||
else if (Update.write(upload.buf, upload.currentSize) != upload.currentSize) {
|
else if (Update.write(upload.buf, upload.currentSize) != upload.currentSize) {
|
||||||
Web.upload_error = 5; // Upload buffer miscompare
|
// Web.upload_error = 5; // Upload buffer miscompare
|
||||||
|
Web.upload_error = 2; // Not enough space
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (upload.totalSize && !(upload.totalSize % 102400)) {
|
if (upload.totalSize && !(upload.totalSize % 102400)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user