xiaoxiang781216 commented on code in PR #12387:
URL: https://github.com/apache/nuttx/pull/12387#discussion_r1609148934
##########
arch/risc-v/src/common/espressif/esp_twai.c:
##########
@@ -252,6 +252,7 @@ static void esp_twai_reset(struct can_dev_s *dev)
ret = twai_hal_init(&priv->ctx, &hal_config);
assert(ret);
Review Comment:
```suggestion
ASSERT(ret);
```
and revert the change at line 255
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]