chore: spelling
This commit is contained in:
parent
1181964884
commit
8e3396d9e9
1 changed files with 7 additions and 7 deletions
|
|
@ -330,12 +330,12 @@ func (c *EEBus) writeCurrentLimitData(currents []float64) error {
|
|||
return err
|
||||
}
|
||||
|
||||
// Only send currents smaller 6A if the communication standard is known
|
||||
// otherwise this could cause ISO15118 capable OBCs to stick with IEC61851 when plugging
|
||||
// the charge cable in. Or even worse show an error and the cable needs the unplugged,
|
||||
// Only send currents smaller than 6A if the communication standard is known.
|
||||
// Otherwise this could cause ISO15118 capable OBCs to stick with IEC61851 when plugging
|
||||
// the charge cable in. Or even worse show an error and the cable then needs to be unplugged,
|
||||
// wait for the car to go into sleep and plug it back in.
|
||||
// So if are currentls smaller 6A with unknown communication standard change them to 6A
|
||||
// keep in mind, that still will confuse evcc as it thinks charging is stopped, but it isn't yet
|
||||
// So if there are currents smaller than 6A with unknown communication standard change them to 6A.
|
||||
// Keep in mind that this will still confuse evcc as it thinks charging is stopped, but it hasn't yet.
|
||||
if comStandard == emobility.EVCommunicationStandardTypeUnknown {
|
||||
minLimits, _, _, err := c.emobility.EVCurrentLimits()
|
||||
if err == nil {
|
||||
|
|
@ -347,8 +347,8 @@ func (c *EEBus) writeCurrentLimitData(currents []float64) error {
|
|||
}
|
||||
}
|
||||
|
||||
// set overload protection limits and self consumption limits to identical values
|
||||
// so if the EV supports self consumption it will be used automatically
|
||||
// Set overload protection limits and self consumption limits to identical values,
|
||||
// so if the EV supports self consumption it will be used automatically.
|
||||
return c.emobility.EVWriteLoadControlLimits(currents, currents)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue