-
Notifications
You must be signed in to change notification settings - Fork 2k
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
drivers/tsl2561: apply unified params definition scheme + cleanup #8673
Conversation
ead0c01
to
b4e24c4
Compare
b4e24c4
to
33d4182
Compare
33d4182
to
12460d4
Compare
@@ -28,42 +28,44 @@ | |||
/** | |||
* @brief Define the number of configured sensors | |||
*/ | |||
#define TSL2561_NUMOF (sizeof(tsl2561_params) / sizeof(tsl2561_params[0])) | |||
#define TSL2561_NUM (sizeof(tsl2561_params) / sizeof(tsl2561_params[0])) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this renaming? Its I2C_NUMOF
, too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
12460d4
to
a751807
Compare
tested on pba-d-01-kw2x, works! |
@MichelRottleuthner care to approve and merge then? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK
@aabadie do you want to squash the param/i2c changes into separate commits? |
@MichelRottleuthner, for me the history of commits is ok in this PR. It can be merged as is. |
drivers/tsl2561: apply unified params definition scheme + cleanup
drivers/tsl2561: apply unified params definition scheme + cleanup
drivers/tsl2561: apply unified params definition scheme + cleanup
Contribution description
This PR update the params definitions scheme for the tsl2561 device driver.
Issues/PRs references
Initially done in #7937 and related to #7519
#6577