[riot-notifications] [RIOT-OS/RIOT] cpu/nrf5x: implement wdt peripheral driver (#11556)

benpicco notifications at github.com
Fri Sep 13 15:15:11 CEST 2019


benpicco commented on this pull request.



> @@ -165,6 +165,14 @@ typedef struct {
     uint8_t miso;       /**< MISO pin */
 } spi_conf_t;
 
+/**
+ * @name    WDT upper and lower bound times in ms
+ * @{
+ */
+#define NWDT_TIME_LOWER_LIMIT          (1)
+#define NWDT_TIME_UPPER_LIMIT          (UINT32_MAX + 1 / 32.768)

Is this really a floating point number that you want to use as divisor? 

-- 
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/11556#discussion_r324186855
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190913/c5a612ba/attachment.htm>


More information about the notifications mailing list