Skip to content

Commit 5b9d799

Browse files
committed
set overcurrent threshold
1 parent aadd193 commit 5b9d799

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platformio.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lib_deps =
1616
upload_protocol = usbasp
1717
upload_flags = "-e -B0.5"
1818
version = 8.2.1
19-
build_flags =
19+
build_flags =
2020
-D OEV6
2121
-D RELAY_PWM
2222
-D SHOW_DISABLED_TESTS
@@ -37,6 +37,8 @@ eu_build_flags =
3737
-D PERIODIC_LCD_REFRESH_MS=120000UL
3838
-D DEFAULT_CURRENT_CAPACITY_L2=32
3939
-D MAX_CURRENT_CAPACITY_L2=32
40+
-D OVERCURRENT_THRESHOLD=5
41+
-D OVERCURRENT_TIMEOUT=10000UL
4042

4143
# Arduino 1.6.17 - requires Python 2
4244
[env:openevse_1-6-17]

0 commit comments

Comments
 (0)