Rev 2160 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2160 | Rev 2164 | ||
---|---|---|---|
Line 474... | Line 474... | ||
474 | } |
474 | } |
475 | } |
475 | } |
Line 476... | Line 476... | ||
476 | 476 | ||
477 | // Even if the sample is off-range, use it. |
477 | // Even if the sample is off-range, use it. |
478 | simpleAirPressure = getSimplePressure(rawAirPressure); |
- | |
479 | // debugOut.analog[6] = rawAirPressure; |
- | |
Line 480... | Line 478... | ||
480 | // debugOut.analog[7] = simpleAirPressure; |
478 | simpleAirPressure = getSimplePressure(rawAirPressure); |
481 | 479 | ||
482 | if (simpleAirPressure < MIN_RANGES_EXTRAPOLATION * rangewidth) { |
480 | if (simpleAirPressure < MIN_RANGES_EXTRAPOLATION * rangewidth) { |
483 | // Danger: pressure near lower end of range. If the measurement saturates, the |
481 | // Danger: pressure near lower end of range. If the measurement saturates, the |