chore: fix Amperfied modbus settings
This commit is contained in:
parent
113ba95363
commit
507a0eb4d7
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ func init() {
|
|||
// NewAmperfiedFromConfig creates a Amperfied charger from generic config
|
||||
func NewAmperfiedFromConfig(other map[string]interface{}) (api.Charger, error) {
|
||||
cc := struct {
|
||||
modbus.TcpSettings
|
||||
Phases1p3p bool
|
||||
modbus.TcpSettings `mapstructure:",squash"`
|
||||
Phases1p3p bool
|
||||
}{
|
||||
TcpSettings: modbus.TcpSettings{
|
||||
ID: 255,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue