tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

Timer.Reset() not implemented

Open jadefox10200 opened this issue 2 years ago • 0 comments

timer.modTimer appears to not be implemented.

The error I am getting is:

referenced by tick.go:60 (/opt/homebrew/Cellar/go/1.19.4/libexec/src/time/tick.go:60)
/Users/stillshot/Library/Caches/tinygo/thinlto/llvmcache-0ACC4295CB94FD749B6046AA38636C6DBE5FF8A5:((*time.Ticker).Reset)
failed to run tool: ld.lld
error: failed to link /var/folders/mn/5m1sf0ys2hv3pypqprmrrdp80000gn/T/tinygo1735139416/main: exit status 1

I'm trying to use the function *time.Reset() to reset a ticker but it apparently doesn't like that. This is on an RP2040. tinygo version 0.26.0 darwin/amd64 (using go version go1.19.4 and LLVM version 14.0.0)

jadefox10200 avatar Feb 17 '23 02:02 jadefox10200