wangzhi-art commented on code in PR #15614:
URL: https://github.com/apache/nuttx/pull/15614#discussion_r1922030892


##########
arch/risc-v/src/esp32c3-legacy/esp32c3_rt_timer.c:
##########
@@ -476,6 +493,7 @@ static int rt_timer_isr(int irq, void *context, void *arg)
       /* If there is a timer in the list, the alarm should be enabled */
 
       ESP32C3_TIM_SETALRM(priv->timer, true);
+      sched_unlock();

Review Comment:
   I wanted to write it after spin_unlock_irqrestore, but I accidentally wrote 
it wrong here.



-- 
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