From 8e3396d9e9343c8b6ae467e97ad03a00e9af8ee2 Mon Sep 17 00:00:00 2001 From: andig Date: Fri, 15 Sep 2023 19:50:48 +0200 Subject: [PATCH] chore: spelling --- charger/eebus.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/charger/eebus.go b/charger/eebus.go index 75f34d53a..28aacac8f 100644 --- a/charger/eebus.go +++ b/charger/eebus.go @@ -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) }