High pressure here today and the altimeter is reading -69m. Allow down
to -100m when testing baro values.
Signed-off-by: Keith Packard <keithp@keithp.com>
double temperature = strtod(temp[2], NULL) / 100.0;
double altitude = strtod(alt[1], NULL);
double temperature = strtod(temp[2], NULL) / 100.0;
double altitude = strtod(alt[1], NULL);
- if (altitude < -50 || 3000 < altitude) {
+ if (altitude < -100 || 3000 < altitude) {
printf ("weird altitude %f\n", altitude);
free_baro(b);
return 0;
printf ("weird altitude %f\n", altitude);
free_baro(b);
return 0;