summaryrefslogtreecommitdiff
path: root/ao-tools/ao-test-baro/ao-test-baro.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2017-04-24 18:22:03 -0600
committerBdale Garbee <bdale@gag.com>2017-04-24 18:22:03 -0600
commitb91f67005709cb7f65e0a461b49b5cb0952cb391 (patch)
treee9f6c0f30a81cf30a9cfd52887171168f7830f85 /ao-tools/ao-test-baro/ao-test-baro.c
parent1e956f93e0c9f8ed6180490f80e8aead5538f818 (diff)
parent8a10ddb0bca7d6f6aa4aedda171899abd165fd74 (diff)
Merge branch 'branch-1.7' into debian
Diffstat (limited to 'ao-tools/ao-test-baro/ao-test-baro.c')
-rw-r--r--ao-tools/ao-test-baro/ao-test-baro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-tools/ao-test-baro/ao-test-baro.c b/ao-tools/ao-test-baro/ao-test-baro.c
index d2b81e4f..36c805c2 100644
--- a/ao-tools/ao-test-baro/ao-test-baro.c
+++ b/ao-tools/ao-test-baro/ao-test-baro.c
@@ -164,7 +164,7 @@ do_baro(struct cc_usb *usb) {
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;