mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
maixbit (uart): working on data tx
When the data to send is too long the program gives an exception.
This commit is contained in:
@@ -7,7 +7,7 @@ import (
|
||||
"device/riscv"
|
||||
)
|
||||
|
||||
var clockFrequency uint32 = kendryte.SYSCTL.CLK_FREQ.Get()
|
||||
var clockFrequency int64 = int64(kendryte.SYSCTL.CLK_FREQ.Get())
|
||||
|
||||
// ticksToNanoseconds converts RTC ticks to nanoseconds.
|
||||
func ticksToNanoseconds(ticks timeUnit) int64 {
|
||||
|
||||
Reference in New Issue
Block a user