chore: ensure config is loaded before init functions (#226)

This commit is contained in:
Aveline
2025-03-04 11:32:54 +01:00
committed by GitHub
parent d4efd72731
commit 554121a20b
5 changed files with 16 additions and 0 deletions

View File

@@ -248,6 +248,8 @@ func startBacklightTickers() {
}
func init() {
ensureConfigLoaded()
go func() {
waitCtrlClientConnected()
fmt.Println("setting initial display contents")