CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
GNU General Public License v3.0
1 stars 0 forks source link

Remove all unnecessary I2C bus lock overhead #33

Closed linguini1 closed 1 month ago

linguini1 commented 1 month ago

I2C commands are automatically excluded by the kernel to prevent collision on the bus. The I2C bus lock is only necessary when two threads may want to address the same sensor at once while the sensor is already active processing something. This removal speeds up the drivers greatly.