fix(espcoredump): fix gcc 13.1.0 warnings

This commit is contained in:
Alexey Lapshin 2023-07-19 23:06:33 +04:00
parent 6a94453a18
commit 8bbcc224dd

View File

@ -290,9 +290,10 @@ void esp_core_dump_reset_fake_stacks(void)
/* Get the top of the ISR stack.
* Check core dump port interface for more information about this function.
*/
uint8_t* esp_core_dump_get_isr_stack_top(void) {
extern uint8_t port_IntStack;
return &port_IntStack;
uint8_t* esp_core_dump_get_isr_stack_top(void)
{
extern uint8_t port_IntStack[];
return port_IntStack;
}
uint32_t esp_core_dump_get_isr_stack_end(void)