This commit is contained in:
Josh Deprez 2021-02-07 18:01:27 +11:00
parent 222d71a8e0
commit 11fae1e914

View file

@ -143,6 +143,7 @@ func main() {
conn, err := dialSungrow(addr)
if err != nil {
log.Printf("Couldn't dial inverter: %v", err)
continue
}
sgc = conn
defer conn.Close()