aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/runtime/runtime_rp2040.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/runtime_rp2040.go b/src/runtime/runtime_rp2040.go
index e5659d625..8a8c343c5 100644
--- a/src/runtime/runtime_rp2040.go
+++ b/src/runtime/runtime_rp2040.go
@@ -14,7 +14,7 @@ func machineTicks() uint64
// machineLightSleep is provided by package machine.
func machineLightSleep(uint64)
-type timeUnit uint64
+type timeUnit int64
// ticks returns the number of ticks (microseconds) elapsed since power up.
func ticks() timeUnit {