[riot-notifications] [RIOT-OS/RIOT] driver_lis2dh12: functionality extension (#15871)

jan-mo notifications at github.com
Fri Jan 29 13:14:12 CET 2021


@jan-mo commented on this pull request.



> + * @param[in] dev       device descriptor
+ * @param[in] config    device click configuration
+ *
+ * @return  LIS2DH12_OK on success
+ */
+int lis2dh12_set_click(const lis2dh12_t *dev, lis2dh12_click_t *config);
+
+/**
+ * @brief   Read click source register
+ *
+ * @param[in] dev       device descriptor
+ * @param[out] data     click source register value
+ *
+ * @return  LIS2DH12_OK on success
+ */
+int lis2dh12_read_click_src(const lis2dh12_t *dev, uint8_t *data);

Then we have to do this in every function, also the old one. Is this okay, or should we do not touch the old function header?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15871#discussion_r566780533
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210129/0b93a41e/attachment.htm>


More information about the notifications mailing list