You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/03 21:35:02 UTC

[GitHub] [incubator-nuttx] gustavonihei commented on a diff in pull request #6993: Minor issues to fix ESP32's TWAI.

gustavonihei commented on code in PR #6993:
URL: https://github.com/apache/incubator-nuttx/pull/6993#discussion_r962204382


##########
arch/xtensa/src/esp32/esp32_twai.c:
##########
@@ -495,7 +497,7 @@ static int esp32twai_setup(struct can_dev_s *dev)
 
   /* Enable the CPU interrupt that is linked to the TWAI device. */
 
-  up_enable_irq(priv->cpuint);
+  up_enable_irq(priv->irq);

Review Comment:
   Calls to `up_disable_irq` also require the same fix, like the one on line 470.



-- 
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-unsubscribe@nuttx.apache.org

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