Skip to content

Commit 7e7ddd2

Browse files
committed
WIP
1 parent a1b04ee commit 7e7ddd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/runtime_py32.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ func ConfigureSystemTimer(systemFrequencyHz uint32) {
2727
}
2828

2929
func ticksToNanoseconds(ticks timeUnit) int64 {
30-
return int64(ticks * 10_000_000)
30+
return int64(ticks * 1_000_000)
3131
}
3232

3333
func nanosecondsToTicks(ns int64) timeUnit {
34-
return timeUnit(ns / 10_000_000)
34+
return timeUnit(ns / 1_000_000)
3535
}
3636

3737
var tickCounter uint64

0 commit comments

Comments
 (0)