<p><b>@aabadie</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/11556#discussion_r324256586">cpu/nrf5x_common/periph/wdt.c</a>:</p>
<pre style='color:#555'>> @@ -87,7 +87,7 @@ void wdt_setup_reboot(uint32_t min_time, uint32_t max_time)
     NRF_WDT->CONFIG |= (NRF_WDT_HALT_MODE << WDT_CONFIG_HALT_Pos);
 
     /* timeout (s) = (CRV + 1) / 32768 */
-    uint32_t crv = (uint32_t)(max_time * 32.768) - 1;
+    uint32_t crv = (uint32_t)((max_time << 15) / 1000) - 1;
</pre>
<p>Doesn't work if I change that.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11556?email_source=notifications&email_token=ABE7WYHJWWRJAUXPRFNDODDQJOZDFA5CNFSM4HOHWQTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEWBYGA#discussion_r324256586">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFUWO6ORM3XKE2JDQTQJOZDFANCNFSM4HOHWQTA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYCRRVBHHYMQCGPS2HDQJOZDFA5CNFSM4HOHWQTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEWBYGA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11556?email_source=notifications\u0026email_token=ABE7WYHJWWRJAUXPRFNDODDQJOZDFA5CNFSM4HOHWQTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEWBYGA#discussion_r324256586",
"url": "https://github.com/RIOT-OS/RIOT/pull/11556?email_source=notifications\u0026email_token=ABE7WYHJWWRJAUXPRFNDODDQJOZDFA5CNFSM4HOHWQTKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEWBYGA#discussion_r324256586",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>