Skip to content

Commit 79ea4f6

Browse files
committed
forgotten 10k samples at start
1 parent bc0f5a4 commit 79ea4f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/current_sense/LowsideCurrentSense.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int LowsideCurrentSense::init(){
3434
}
3535
// Function finding zero offsets of the ADC
3636
void LowsideCurrentSense::calibrateOffsets(){
37-
const int calibration_rounds = 10000;
37+
const int calibration_rounds = 1000;
3838

3939
// find adc offset = zero current voltage
4040
offset_ia = 0;

0 commit comments

Comments
 (0)