Skip to content

Conversation

@arikimari
Copy link
Contributor

Summary

Fix reg write function so that it works with all platfroms

  • platfroms that that does not support I2C_M_NOSTART flag
  • function always writes 3 bytes, this implementation is more efficient,
    no need for to two separate i2c messages
    Remove one unused static function (causing compile warning)
    Fix documentation of channels

Impact

Platforms using ads1115 driver from Nuttx

Testing

Custom nxp93 hw with ads1115 adc

@arikimari arikimari requested a review from linguini1 as a code owner January 30, 2026 13:12
@github-actions github-actions bot added the Size: S The size of the change in this PR is small label Jan 30, 2026
Signed-off-by: Ari Kimari <[email protected]>

Fix write reg to work with all platforms
Fix compile warnings
@acassis
Copy link
Contributor

acassis commented Jan 30, 2026

@arikimari please fix:

❌ Missing git commit message
Used config files:
1: .codespellrc
Some checks failed. For contributing guidelines, see:
https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md
Error: Process completed with exit code 1.

Copy link
Contributor

@linguini1 linguini1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change is good, but please provide some information about how you tested and some logs of the results.

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

Labels

Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants