jasonbu commented on code in PR #15073:
URL: https://github.com/apache/nuttx/pull/15073#discussion_r1872671751


##########
arch/arm/src/armv6-m/arm_doirq.c:
##########
@@ -56,6 +56,17 @@ void exception_direct(void)
     }
 }
 
+static inline_function bool restore_context(int irq, uint32_t *regs)
+{
+  if ((NVIC_IRQ_SVCALL == irq || NVIC_IRQ_HARDFAULT == irq) &&

Review Comment:
   NVIC_IRQ_HARDFAULT == irq maybe cause mistake trigger



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to