esp32: rename shadow variables

Rename shadow variables found by -Wshadow.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2023-08-09 14:34:21 -07:00 committed by Carles Cufí
parent 729fd4c574
commit 3c3f480be8
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ void __attribute__((section(".iram1"))) start_esp32_net_cpu(void)
volatile uint32_t *dst =
(volatile uint32_t *)segment->load_addr;
for (int i = 0; i < segment->data_len/4 ; i++) {
dst[i] = src[i];
for (int j = 0; j < segment->data_len/4 ; j++) {
dst[j] = src[j];
}
} else if (segment->load_addr >= SOC_DRAM_LOW &&
segment->load_addr < SOC_DRAM_HIGH) {