Skip to content

Timer.Reset() not implemented #3456

Open
@jadefox10200

Description

@jadefox10200

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions