mirror of https://github.com/jetkvm/kvm.git
fix(display): move backlightTicker setup into screen setup goroutine
Signed-off-by: Cameron Fleming <cameron@nevexo.space>
This commit is contained in:
parent
a05df7a16b
commit
6445628114
|
@ -250,9 +250,8 @@ func init() {
|
||||||
fmt.Println("display inited")
|
fmt.Println("display inited")
|
||||||
wakeDisplay(false)
|
wakeDisplay(false)
|
||||||
requestDisplayUpdate()
|
requestDisplayUpdate()
|
||||||
|
startBacklightTickers()
|
||||||
}()
|
}()
|
||||||
|
|
||||||
startBacklightTickers()
|
|
||||||
|
|
||||||
go watchTsEvents()
|
go watchTsEvents()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue