extend "ok" temp range to 40C, since battery charger on bench can drive temp above
[fw/altos] / ao-tools / ao-test-baro / ao-test-baro.c
index e883de4a47d3fc6ae346c7e7f8fcfc7556d9f5ec..b3058b80fefbb9290ad6c761505868e4fa66e38e 100644 (file)
@@ -169,7 +169,7 @@ do_baro(struct cc_usb *usb) {
                return 0;
        }
 
-       if (temperature < 20 || 35 < temperature) {
+       if (temperature < 20 || 40 < temperature) {
                printf ("weird temperature %f\n", temperature);
                free_baro(b);
                return 0;