Explorar o código

Reduce ota flash partition erase block size - release

Sebastien %!s(int64=5) %!d(string=hai) anos
pai
achega
ea2bf2b4ec
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/squeezelite-ota/squeezelite-ota.c

+ 1 - 1
components/squeezelite-ota/squeezelite-ota.c

@@ -38,7 +38,7 @@
 
 #include "esp_ota_ops.h"
 
-#define OTA_FLASH_ERASE_BLOCK (4096*100)
+#define OTA_FLASH_ERASE_BLOCK (1024*100)
 static const char *TAG = "squeezelite-ota";
 extern const uint8_t server_cert_pem_start[] asm("_binary_github_pem_start");
 extern const uint8_t server_cert_pem_end[] asm("_binary_github_pem_end");