Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Proper i2cbus deinit #142

Open
vthakur7f opened this issue Oct 4, 2018 · 0 comments
Open

Enhancement: Proper i2cbus deinit #142

vthakur7f opened this issue Oct 4, 2018 · 0 comments

Comments

@vthakur7f
Copy link
Collaborator

Product: (OC-SDR, OC-LTE, OC-LTE, OC-Power, others)

OC-SDR

Component: (PSU, GBC, BBU, FEM, LED, ME)

GBC/FE/SDR

Category: (Hardware, Software/stack, Firmware/bootloader, Documentation)

Firmware/OCWare
Describe the solution you'd like
Clean de-init for I2C bus.

Is your feature request related to a problem? Please describe.
Since we haven't had a true use case to close an i2c bus, our i2c handle store (i2cbus.c) doesn't have the ability to properly de-initialize all the handles that have been opened. We hack around this in all our unit tests right now (Test_pca9557.c, Test_sx1509.c, etc.), but we should probably clean this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant