correct order

This commit is contained in:
Paolo Asperti 2021-12-09 17:47:27 +01:00
parent d318b79b99
commit 14deeca57a
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -62,9 +62,9 @@ func UpsConnect() {
if u.Name == viper.GetString("Ups.Name") {
ups = u
Connected = true
UpsReadVars()
syslog.Notice("UPS connected")
events.FireEvent("ups_connected")
UpsReadVars()
}
}
}