Searched refs:partial_bytes (Results 1 – 1 of 1) sorted by relevance
52 uint8_t partial_bytes; member213 …if (it->wrote_size == 0 && it->partial_bytes == 0 && size > 0 && data_bytes[0] != ESP_IMAGE_HEADER… in esp_ota_write()223 if (it->partial_bytes != 0) { in esp_ota_write()224 copy_len = MIN(16 - it->partial_bytes, size); in esp_ota_write()225 memcpy(it->partial_data + it->partial_bytes, data_bytes, copy_len); in esp_ota_write()226 it->partial_bytes += copy_len; in esp_ota_write()227 if (it->partial_bytes != 16) { in esp_ota_write()235 it->partial_bytes = 0; in esp_ota_write()243 it->partial_bytes = size % 16; in esp_ota_write()244 if (it->partial_bytes != 0) { in esp_ota_write()[all …]