You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/06/03 09:48:22 UTC

[GitHub] [mynewt-core] kasjer opened a new pull request #1860: sensors: Enhance helper functions

kasjer opened a new pull request #1860: sensors: Enhance helper functions
URL: https://github.com/apache/mynewt-core/pull/1860
 
 
   sensor_itf.si_dev has to have valid pointer to node.
   It could be done in sensor_itf variable declaration, but often
   this is the only filed that needs to be initialize and it is
   easy to overlook.
   
   Device creation helpers have both pointer in argument list
   so now they setup si_dev to correct value.
   
   This change dose not affect existing code.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services