[riot-notifications] [RIOT-OS/RIOT] drivers/tmp00x : Expose Configurations to Kconfig (#13989)

Akshai M (Augustus Diode) notifications at github.com
Mon May 18 18:53:09 CEST 2020


@akshaim commented on this pull request.



> +
+    if (IS_ACTIVE(CONFIG_TMP00X_USE_LOW_POWER)) {
+        if (tmp00x_set_active(dev)) {
+            return TMP00X_ERROR;
+        }
+        xtimer_usleep(CONFIG_TMP00X_CONVERSION_TIME);
+    }
+
+    if (IS_ACTIVE(CONFIG_TMP00X_USE_RAW_VALUES)) {
+        if ((ret = tmp00x_read(dev, to, ta, &drdy)) < 0) {
+            return ret;
+        }
+
+        if (!drdy) {
+            if (IS_ACTIVE(CONFIG_TMP00X_USE_LOW_POWER)) {
+            tmp00x_set_standby(dev);

Done


-- 
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/13989#discussion_r426765437
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200518/821d51bd/attachment.htm>


More information about the notifications mailing list