chore: remove stray logger

This commit is contained in:
andig 2021-12-08 21:06:05 +01:00
parent a52a416b6d
commit 1ce4837565
2 changed files with 0 additions and 4 deletions

View file

@ -29,7 +29,6 @@ import (
// HeidelbergEC charger implementation
type HeidelbergEC struct {
log *util.Logger
conn *modbus.Connection
current uint16
}
@ -83,7 +82,6 @@ func NewHeidelbergEC(uri, device, comset string, baudrate int, slaveID uint8) (a
conn.Logger(log.TRACE)
wb := &HeidelbergEC{
log: log,
conn: conn,
current: 60, // assume min current
}

View file

@ -11,7 +11,6 @@ import (
// SimpleEVSE charger implementation
type SimpleEVSE struct {
log *util.Logger
conn *modbus.Connection
current int64
}
@ -54,7 +53,6 @@ func NewSimpleEVSE(uri, device, comset string, baudrate int, rtu bool, slaveID u
conn.Delay(200 * time.Millisecond)
evse := &SimpleEVSE{
log: log,
conn: conn,
current: 6, // assume min current
}