From 75c4dab3c7de84dba7b14c16c9c15e00e2ccc98f Mon Sep 17 00:00:00 2001 From: Federico Pellegrin <fede@evolware.org> Date: Fri, 12 Oct 2018 17:40:37 +0200 Subject: [PATCH] sys/arduino: correct micros() return type --- sys/arduino/base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arduino/base.cpp b/sys/arduino/base.cpp index 99a7e794e2..65f6a450c0 100644 --- a/sys/arduino/base.cpp +++ b/sys/arduino/base.cpp @@ -67,7 +67,7 @@ void delayMicroseconds(unsigned long usec) xtimer_usleep(usec); } -unsigned int micros() +unsigned long micros() { return xtimer_now_usec(); } -- GitLab