Skip to content

Commit

Permalink
Use default address if not configured
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Aug 17, 2020
1 parent 0def518 commit b034fc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion charger/phoenix-emcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ func NewPhoenixEMCPFromConfig(other map[string]interface{}) (api.Charger, error)
URI string
ID uint8
}{
ID: 180, // default
URI: "192.168.0.8:502", // default
ID: 180, // default
}

if err := util.DecodeOther(other, &cc); err != nil {
Expand Down

0 comments on commit b034fc0

Please sign in to comment.