diff --git a/keyboard.go b/keyboard.go index 7d0fed4..922574d 100644 --- a/keyboard.go +++ b/keyboard.go @@ -374,7 +374,6 @@ func (d *Device) Loop(ctx context.Context) error { cont = false continue case <-ticker: - default: } err := d.Tick() diff --git a/rgb.go b/rgb.go index b0b3d06..4e8d660 100644 --- a/rgb.go +++ b/rgb.go @@ -1,3 +1,5 @@ +//go:build tinygo + package keyboard import (