rp2040: fix timeUnit type

It should be int64 like for all other systems, not uint64.
This commit is contained in:
Ayke van Laethem
2024-04-26 13:20:26 +02:00
committed by Ron Evans
parent 797a5a2031
commit f986ea84ac
+1 -1
View File
@@ -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 {