mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 02:37:19 +02:00
fix(espcoredump): fix incorrect pointer usage in checksum update call
This commit is contained in:
@ -185,7 +185,7 @@ static esp_err_t esp_core_dump_flash_write_data(core_dump_write_data_t* wr_data,
|
||||
wr_data->off += COREDUMP_CACHE_SIZE;
|
||||
|
||||
/* Update checksum with the newly written data on the flash. */
|
||||
esp_core_dump_checksum_update(&wr_data->checksum_ctx, &wr_data->cached_data, COREDUMP_CACHE_SIZE);
|
||||
esp_core_dump_checksum_update(&wr_data->checksum_ctx, wr_data->cached_data, COREDUMP_CACHE_SIZE);
|
||||
|
||||
/* Reset cache from the next use. */
|
||||
wr_data->cached_bytes = 0;
|
||||
|
Reference in New Issue
Block a user