Skip to content

Commit 77b874d

Browse files
author
Max 'MaxMax' Mönikes
committed
Fixed Bug in Example leading to compilation error due to resetErrors call without nodeID argument
1 parent af3e02d commit 77b874d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Voltage_Based_Balancing/Voltage_Based_Balancing.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void setup() {
5252

5353
tle9012.setNumberofCells(1, N_CELLS); //Configure the number of cells
5454
tle9012.resetWatchdog(); //Reset Watchdog Timer
55-
tle9012.resetErrors(); //Reset Errors
55+
tle9012.resetErrors(1); //Reset Errors
5656
}
5757

5858
void loop() {

0 commit comments

Comments
 (0)