浏览代码

OTA fixes - release

Sebastien 5 年之前
父节点
当前提交
391bc24dc7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 (1024*100)
+#define OTA_FLASH_ERASE_BLOCK (4096*10)
 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");