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:
commit
8c94a16032
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user