pkarashchenko commented on code in PR #9105:
URL: https://github.com/apache/nuttx/pull/9105#discussion_r1177799762
##########
drivers/spi/spi_bitbang.c:
##########
@@ -551,4 +553,12 @@ FAR struct spi_dev_s *spi_create_bitbang(FAR const struct
return &priv->dev;
}
+void spi_destroy_bitbang(FAR struct spi_dev_s *dev)
+{
+ if (dev)
Review Comment:
Shouldn't this be a DEBUGASSERT(dev);?
--
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]