mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 11:07:46 +00:00
stm32: i2c implementation for F7, L5 and L4 MCUs
This commit is contained in:
@@ -56,6 +56,7 @@ func nanosecondsToTicks(ns int64) timeUnit {
|
||||
}
|
||||
|
||||
// number of ticks (microseconds) since start.
|
||||
//go:linkname ticks runtime.ticks
|
||||
func ticks() timeUnit {
|
||||
return timeUnit(tickCount.Get())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user