Add comment to clarify the need to stop the tickers

This commit is contained in:
Alex Ballas 2025-05-30 11:40:33 +03:00
parent 41f9d6102f
commit 06c721fef6
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ func startBacklightTickers() {
return
}
// Stop existing tickers to prevent multiple active instances on repeated calls
if dimTicker != nil {
dimTicker.Stop()
}