<blockquote>
<p>Notice that <code>millis()</code> will wrap around after 4294967 milliseconds.</p>
</blockquote>
<p>Indeed. I think I should have better used <code>return xtimer_now_usec64() / US_PER_MS;</code> over <code>return xtimer_now_usec() / US_PER_MS;</code>. (On the AVR that would come with a significant cost, but wrapping around 3 orders of magnitude sooner than one would expect might lead to bugs. Especially as we try to mimic the behavior of the Arduino API.)</p>
<p><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=318839" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/keestux">@keestux</a>: Would you mind to fix this? Otherwise I'll put it on my todo and fix it after my vacation.</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/12116?email_source=notifications&email_token=ABE7WYAGZALWIOE3NQDPMS3QKITRTA5CNFSM4ISA4VSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ABGVY#issuecomment-532681559">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYARVU2DMC4QIAA6E2LQKITRTANCNFSM4ISA4VSA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYB3TQPY5GR52HO337LQKITRTA5CNFSM4ISA4VSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ABGVY.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/12116?email_source=notifications\u0026email_token=ABE7WYAGZALWIOE3NQDPMS3QKITRTA5CNFSM4ISA4VSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ABGVY#issuecomment-532681559",
"url": "https://github.com/RIOT-OS/RIOT/pull/12116?email_source=notifications\u0026email_token=ABE7WYAGZALWIOE3NQDPMS3QKITRTA5CNFSM4ISA4VSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7ABGVY#issuecomment-532681559",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>