refactor: remove init functions (#489)

This commit is contained in:
Aveline
2025-05-22 10:29:16 +02:00
committed by GitHub
parent b91a995918
commit 25e30f6420
4 changed files with 11 additions and 7 deletions

View File

@@ -370,9 +370,7 @@ func startBacklightTickers() {
}
}
func init() {
ensureConfigLoaded()
func initDisplay() {
go func() {
waitCtrlClientConnected()
displayLogger.Info().Msg("setting initial display contents")