mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 02:33:28 +00:00
rp2040: fix timeUnit type
It should be int64 like for all other systems, not uint64.
This commit is contained in:
committed by
Ron Evans
parent
797a5a2031
commit
f986ea84ac
@@ -14,7 +14,7 @@ func machineTicks() uint64
|
|||||||
// machineLightSleep is provided by package machine.
|
// machineLightSleep is provided by package machine.
|
||||||
func machineLightSleep(uint64)
|
func machineLightSleep(uint64)
|
||||||
|
|
||||||
type timeUnit uint64
|
type timeUnit int64
|
||||||
|
|
||||||
// ticks returns the number of ticks (microseconds) elapsed since power up.
|
// ticks returns the number of ticks (microseconds) elapsed since power up.
|
||||||
func ticks() timeUnit {
|
func ticks() timeUnit {
|
||||||
|
|||||||
Reference in New Issue
Block a user