소스 검색

Reduce ota flash partition erase block size - release

Sebastien 5 년 전
부모
커밋
ea2bf2b4ec
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 (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");