[riot-notifications] [RIOT-OS/RIOT] drivers/*: unify drivers params definition scheme (#7937)

Alexandre Abadie notifications at github.com
Wed Feb 28 15:51:52 CET 2018

aabadie commented on this pull request.

>   *
  * @return              0 on success
  * @return              -1 on error
-int lps331ap_init(lps331ap_t *dev, i2c_t i2c, uint8_t address, lps331ap_rate_t rate);
+int lps331ap_init(lps331ap_t *dev, const lps331ap_params_t * params);

> you modified the API, the params and structs just to fit with the new params scheme

Which again is the goal of this PR: unifying the way initialization parameters are defined **and** used.

> Too much changes in a row...

Maybe but required

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20180228/c446f0a7/attachment.html>

More information about the notifications mailing list