Skip to content

Commit d9216e7

Browse files
committed
A few bits of tidyup
1 parent 8f21d9f commit d9216e7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

platformio.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ debug_flags =
4949
-D ENABLE_DEBUG
5050
#-D ENABLE_DEBUG_WEB
5151
#-D ENABLE_DEBUG_WEB_REQUEST
52-
-D ENABLE_DEBUG_SCHEDULER
53-
# -D ENABLE_DEBUG_TIME
52+
#-D ENABLE_DEBUG_SCHEDULER
53+
#-D ENABLE_DEBUG_TIME
5454
#-D ENABLE_DEBUG_EVSE_MAN
55-
-D ENABLE_DEBUG_EVSE_MONITOR
55+
#-D ENABLE_DEBUG_EVSE_MONITOR
5656
#-D ENABLE_DEBUG_DIVERT
5757
#-D ENABLE_DEBUG_LED
5858
#-D ENABLE_DEBUG_LCD

src/divert.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// 2: Eco :
2626
// Either modulate charge rate based solar PV generation (if only solar PV feed is available)
2727

28-
// Or modulate charge rate based on on excess power (if grid feed (positive import / negative export) is available) i.e. power that would otherwise be exported to the grid is diverted to _EVSE->
28+
// Or modulate charge rate based on on excess power (if grid feed (positive import / negative export) is available) i.e. power that would otherwise be exported to the grid is diverted to EVSE
2929
// Note: it's Assumed EVSE power is included in grid feed e.g. (charge rate = gen - use - EVSE).
3030

3131
// It's better to never import current from the grid but because of charging current quantification (min value of 6A and change in steps of 1A),
@@ -41,6 +41,7 @@
4141
// This avoids wear on the relay and the car.
4242

4343
// Default to normal charging unless set. Divert mode always defaults back to 1 if unit is reset (_mode not saved in EEPROM)
44+
4445
int solar = 0;
4546
int grid_ie = 0;
4647

0 commit comments

Comments
 (0)