enc comment + CONFIG_OTA_CHUNK_SIZE & ~0xf

This commit is contained in:
ok-home
2023-10-06 10:27:29 +07:00
committed by GitHub
parent 9522219d5b
commit cc762bdde2
3 changed files with 28 additions and 22 deletions

View File

@@ -19,7 +19,7 @@
*/
#define OTA_DEFAULT_WS_URI CONFIG_OTA_DEFAULT_WS_URI
#define OTA_DEFAULT_URI CONFIG_OTA_DEFAULT_URI
#define OTA_CHUNK_SIZE CONFIG_OTA_CHUNK_SIZE
#define OTA_CHUNK_SIZE (CONFIG_OTA_CHUNK_SIZE & ~0xf)
static const char *TAG = "ota_ws_http";