mirror of https://github.com/jetkvm/kvm.git
fix: remove duplicate triggerOTAStateUpdate call
This commit is contained in:
parent
fe9523b1a7
commit
68bc480537
|
|
@ -288,7 +288,6 @@ func newSession(config SessionConfig) (*Session, error) {
|
||||||
})
|
})
|
||||||
// Wait for channel to be open before sending initial state
|
// Wait for channel to be open before sending initial state
|
||||||
d.OnOpen(func() {
|
d.OnOpen(func() {
|
||||||
triggerOTAStateUpdate()
|
|
||||||
triggerVideoStateUpdate()
|
triggerVideoStateUpdate()
|
||||||
triggerUSBStateUpdate()
|
triggerUSBStateUpdate()
|
||||||
notifyFailsafeMode(session)
|
notifyFailsafeMode(session)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue