From 0ee4c235eba54e02371c9724357fb0c2129e076e Mon Sep 17 00:00:00 2001 From: David Cermak Date: Wed, 18 Aug 2021 12:59:15 +0200 Subject: [PATCH] panic/memprot: Fix minor const string correction on panic print --- components/esp_system/port/arch/xtensa/panic_arch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_system/port/arch/xtensa/panic_arch.c b/components/esp_system/port/arch/xtensa/panic_arch.c index 6ca03b520c..0eadb67c97 100644 --- a/components/esp_system/port/arch/xtensa/panic_arch.c +++ b/components/esp_system/port/arch/xtensa/panic_arch.c @@ -269,7 +269,7 @@ static inline void print_memprot_err_details(const void *f) { uint32_t *fault_addr; uint32_t op_type, op_subtype; - char *operation_type; + const char *operation_type; mem_type_prot_t mem_type = esp_memprot_get_active_intr_memtype(); if (mem_type != MEMPROT_NONE) {