This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 83105cfa49b8659cd952ea63ada84d5db770b66f
Author: Ville Juven <[email protected]>
AuthorDate: Thu Jun 1 15:39:50 2023 +0300

    sched/assert: Store table for all registers instead of buffer
    
    This way the registers can be read easily
---
 sched/misc/assert.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sched/misc/assert.c b/sched/misc/assert.c
index 54c3be3f84..60cb14dc34 100644
--- a/sched/misc/assert.c
+++ b/sched/misc/assert.c
@@ -72,7 +72,7 @@
  * Private Data
  ****************************************************************************/
 
-static uint8_t g_last_regs[XCPTCONTEXT_SIZE] aligned_data(16);
+static uintptr_t g_last_regs[XCPTCONTEXT_REGS] aligned_data(16);
 
 #ifdef CONFIG_BOARD_COREDUMP
 static struct lib_syslogstream_s  g_syslogstream;

Reply via email to