xiaoxiang781216 commented on code in PR #13531:
URL: https://github.com/apache/nuttx/pull/13531#discussion_r1766061637
##########
drivers/sensors/usensor.c:
##########
@@ -225,7 +225,7 @@ static int usensor_get_info(FAR struct sensor_lowerhalf_s
*lower,
FAR struct file *filep,
FAR struct sensor_device_info_s *info)
{
- FAR struct usensor_lowerhalf_s *ulower = container_of(lower,
+ FAR struct usensor_lowerhalf_s *ulower = list_container_of(lower,
Review Comment:
let's add `#include <nuttx/list.h>`
--
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]