mirror of
https://github.com/luckfox-eng29/kvm.git
synced 2026-01-18 03:28:19 +01:00
Update App version to 0.0.2
This commit is contained in:
@@ -109,10 +109,14 @@ func updateDisplay() {
|
||||
} else {
|
||||
_, _ = lvObjSetState("Main", "USB_DISCONNECTED")
|
||||
}
|
||||
_ = os.WriteFile("/userdata/usb_state", []byte(usbState), 0644)
|
||||
|
||||
if lastVideoState.Ready {
|
||||
_, _ = lvObjSetState("Main", "HDMI_CONNECTED")
|
||||
_ = os.WriteFile("/userdata/hdmi_state", []byte("connected"), 0644)
|
||||
} else {
|
||||
_, _ = lvObjSetState("Main", "HDMI_DISCONNECTED")
|
||||
_ = os.WriteFile("/userdata/hdmi_state", []byte("disconnected"), 0644)
|
||||
}
|
||||
|
||||
if networkState.IsUp() {
|
||||
@@ -120,7 +124,6 @@ func updateDisplay() {
|
||||
} else {
|
||||
_, _ = lvObjSetState("Network", "NO_NETWORK")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user