Skip to content

Commit d225e55

Browse files
committed
increase calibThreshold for ADC pitot tube
1 parent dc2cf05 commit d225e55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/drivers/pitotmeter/pitotmeter_adc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static void adcPitotCalculate(pitotDev_t *pitot, float *pressure, float *tempera
6767
bool adcPitotDetect(pitotDev_t *pitot)
6868
{
6969
pitot->delay = 10000;
70-
pitot->calibThreshold = 0.00001f; // TODO :: should be tested !!!
70+
pitot->calibThreshold = 0.00005f; // TODO :: should be tested !!! // value 0.00001 does not works for me (MPXV7002DP), 0.00005f works
7171
pitot->start = adcPitotStart;
7272
pitot->get = adcPitotRead;
7373
pitot->calculate = adcPitotCalculate;

0 commit comments

Comments
 (0)