Skip to content

Commit

Permalink
Update charger/mypv.go
Browse files Browse the repository at this point in the history
  • Loading branch information
andig authored Jan 15, 2025
1 parent 279afb0 commit 68278d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charger/mypv.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,9 @@ func (wb *MyPv) GetLimitSoc() (int64, error) {
return int64(binary.BigEndian.Uint16(b)) / 10, nil
}

var _ api.PhaseDescriber = (*switchSocket)(nil)
var _ api.PhaseDescriber = (*MyPv)(nil)

// Phases implements the api.PhasesDescriber interface
func (v *MyPv) Phases() int {
func (wb *MyPv) Phases() int {
return 1
}

0 comments on commit 68278d3

Please sign in to comment.