[riot-notifications] [RIOT-OS/RIOT] drivers/dht: Bugfixes (#11876)
notifications at github.com
Tue Jul 23 22:44:10 CEST 2019
smlng commented on this pull request.
+ * @brief Wait until the pin @p pin has level @p expect
+ * @param pin GPIO pin to wait for
+ * @param expect Wait until @p pin has this logic level
+ * @param timeout Timeout in µs
+ * @retval 0 Success
+ * @retval -1 Timeout occurred before level was reached
+static inline int _wait_for_level(gpio_t pin, int expect, unsigned timeout)
oops my bad, thought timeout is 1 second and not 1000 us, sry - leave as is with `unsigned` then.
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...
More information about the notifications