Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Maschga committed Jan 12, 2025
1 parent 4617ab6 commit f165b76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meter/rct.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ func NewRCT(uri, usage string, minSoc, maxSoc int, cache time.Duration, capacity
return err
}

// automatically sets BatterySoCTargetMin and BatterySoCTargetMinIsland to maxsoc
return m.conn.Write(rct.PowerMngSocCharge, m.floatVal(float32(maxSoc)/100))

default:
Expand Down

0 comments on commit f165b76

Please sign in to comment.