You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "patacongo (via GitHub)" <gi...@apache.org> on 2023/08/05 00:45:42 UTC

[GitHub] [nuttx] patacongo commented on pull request #10077: sesnor:optimize bmi160 sensor adapt to uorb.

patacongo commented on PR #10077:
URL: https://github.com/apache/nuttx/pull/10077#issuecomment-1666309451

   > I know that @patacongo created a way to let a driver to incorporate another one, but I could find it. I think nobody used it until now, but it is some "hidden feature" of NuttX. I think he did it after creating the driver that convert char device to block devices.
   
   Within a driver, you can open and contain another driver using file_open() and access the other driver with file_read(), file_write()(), file_ioctl(), etc.  This avoids using file descriptors.
   


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