[riot-notifications] [RIOT-OS/RIOT] drivers/adcxx1c: improve error handling (#10526)

Vincent Dupont notifications at github.com
Tue Jan 8 16:38:45 CET 2019

vincent-d commented on this pull request.

> @@ -26,7 +26,9 @@
 static int read_adc(const void *dev, phydat_t *res)
-    adcxx1c_read_raw((const adcxx1c_t *)dev, res->val);
+    if (adcxx1c_read_raw((const adcxx1c_t *)dev, res->val)) {

will fix

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/20190108/65bc1470/attachment.html>

More information about the notifications mailing list