projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/stm32f4-disco: Start hooking up stm32f413 USB for the disco board
[fw/altos]
/
ao-tools
/
ao-test-baro
/
ao-test-baro.c
diff --git
a/ao-tools/ao-test-baro/ao-test-baro.c
b/ao-tools/ao-test-baro/ao-test-baro.c
index d2b81e4f98fd0d8178e1803ad737194f905cc8e9..36c805c201bdb34181bd719b7c85b828eeccce00 100644
(file)
--- 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);
double temperature = strtod(temp[2], NULL) / 100.0;
double altitude = strtod(alt[1], NULL);
- if (altitude < -
5
0 || 3000 < altitude) {
+ if (altitude < -
10
0 || 3000 < altitude) {
printf ("weird altitude %f\n", altitude);
free_baro(b);
return 0;
printf ("weird altitude %f\n", altitude);
free_baro(b);
return 0;