You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for owb_rmt_initialize does not indicate that the owb_rmt_driver_info structure needs to be kept around, since the OneWireBus is actually a member of the info structure.
If the info structure goes out of scope, then things break down, and it's not apparent why. (I just spent a few hours tracking down an issue caused by this.)
The text was updated successfully, but these errors were encountered:
abraha2d
changed the title
Documentation on owb_rmt_initialize
Issues caused by owb_rmt_driver_info going out of scope
Oct 19, 2020
@abraha2d I'm sorry you spent time tracking this down when better docs would have helped you avoid this. Thank you for reporting it. I will update the docs in due course and hopefully prevent anyone else having the same experience.
The documentation for
owb_rmt_initialize
does not indicate that theowb_rmt_driver_info
structure needs to be kept around, since the OneWireBus is actually a member of the info structure.If the info structure goes out of scope, then things break down, and it's not apparent why. (I just spent a few hours tracking down an issue caused by this.)
The text was updated successfully, but these errors were encountered: