diff --git a/display.go b/display.go index 6bf3ea4..cf1a0cc 100644 --- a/display.go +++ b/display.go @@ -339,6 +339,7 @@ func startBacklightTickers() { return } + // Stop existing tickers to prevent multiple active instances on repeated calls if dimTicker != nil { dimTicker.Stop() }