chore: fix comments
This commit is contained in:
parent
4bfa2b8a8e
commit
5000dffeb2
2 changed files with 0 additions and 2 deletions
|
|
@ -93,7 +93,6 @@ func NewAlfen(uri string, slaveID uint8) (api.Charger, error) {
|
|||
return wb, err
|
||||
}
|
||||
|
||||
// heartbeat implements the api.ChargerEx interface
|
||||
func (wb *Alfen) heartbeat() {
|
||||
for range time.NewTicker(time.Minute).C {
|
||||
wb.mu.Lock()
|
||||
|
|
|
|||
|
|
@ -101,7 +101,6 @@ func NewVestel(uri string, id uint8) (*Vestel, error) {
|
|||
return wb, nil
|
||||
}
|
||||
|
||||
// heartbeat implements the api.ChargerEx interface
|
||||
func (wb *Vestel) heartbeat() {
|
||||
for range time.NewTicker(time.Minute).C {
|
||||
if _, err := wb.conn.WriteSingleRegister(vestelRegAlive, 1); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue