1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #12275 from keestux/fix-arduino-millis

sys/arduino: use 64bit usec to compute millis()
This commit is contained in:
Marian Buschsieweke 2019-09-19 21:09:36 +02:00 committed by GitHub
commit 8c94a16032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ unsigned long micros()
unsigned long millis()
{
return xtimer_now_usec() / US_PER_MS;
return xtimer_now_usec64() / US_PER_MS;
}
int analogRead(int arduino_pin)