mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/himem_map_range_block_v5.0' into 'release/v5.0'
himem: fixed incorrect out_ptr when range_offset is given non-zero. (v5.0) See merge request espressif/esp-idf!23081
This commit is contained in:
commit
04d2cc841c
@ -331,7 +331,7 @@ esp_err_t esp_himem_map(esp_himem_handle_t handle, esp_himem_rangehandle_t range
|
||||
}
|
||||
|
||||
//Set out pointer
|
||||
*out_ptr = (void *)(VIRT_HIMEM_RANGE_START + (range->block_start + range_offset) * CACHE_BLOCKSIZE);
|
||||
*out_ptr = (void *)(VIRT_HIMEM_RANGE_START + (range->block_start + range_block) * CACHE_BLOCKSIZE);
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user