Donny9 opened a new pull request #2907:
URL: https://github.com/apache/incubator-nuttx/pull/2907


   ## Summary
   Sensor Driver model update.
   Key modification points:
   1. replace lower->buffer_size with lower->buffer_number.
   2. add sanity checks for fetch(with O_NONBLOCK), it will directly return 
when sensor is disable.
   3. gets the capacity of the hardware fifo, set it to lower->batch_number. 
And app can get this number by IOCTL cmd:SNIOC_GET_NEVENTBUF
   ## Impact
   
   ## Testing
   daily test.
   


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

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


Reply via email to