From 2ac011ba25fcc18db264e7bc1a29a36c3b1a3f09 Mon Sep 17 00:00:00 2001 From: Adrian Gielniewski Date: Thu, 21 Nov 2024 14:01:17 +0100 Subject: [PATCH] samples: matter: Replace `z_arch_esf_t` with `struct arch_esf` Fix deprecation warning by replacing `z_arch_esf_t` with `struct arch_esf`. Signed-off-by: Adrian Gielniewski --- samples/matter/common/src/diagnostic/diagnostic_logs_crash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/matter/common/src/diagnostic/diagnostic_logs_crash.h b/samples/matter/common/src/diagnostic/diagnostic_logs_crash.h index 0c74b32516bf..2b2dc2d9353b 100644 --- a/samples/matter/common/src/diagnostic/diagnostic_logs_crash.h +++ b/samples/matter/common/src/diagnostic/diagnostic_logs_crash.h @@ -19,7 +19,7 @@ using namespace chip; namespace Nrf { struct CrashDescription { - z_arch_esf_t Esf = {}; + struct arch_esf Esf = {}; unsigned int Reason = 0; const char *ThreadName = nullptr; uint32_t *ThreadInt = 0;