Skip to content

Commit

Permalink
armv7m: fix DEBUG reset on exception logic
Browse files Browse the repository at this point in the history
JIRA: RTOS-489
  • Loading branch information
agkaminski committed Jul 13, 2023
1 parent 5221147 commit f3541ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hal/armv7m/exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ __attribute__((section(".noxip"))) void hal_exceptionsDispatch(unsigned int n, s
hal_exceptionsDumpContext(buff, ctx, n);
hal_consolePrint(buff);

#ifndef NDEBUG
#ifdef NDEBUG
hal_cpuReset();
#endif

Expand Down

0 comments on commit f3541ec

Please sign in to comment.