extend "ok" temp range to 40C, since battery charger on bench can drive temp above
authorBdale Garbee <bdale@gag.com>
Sun, 12 Jun 2016 15:23:36 +0000 (09:23 -0600)
committerBdale Garbee <bdale@gag.com>
Sun, 12 Jun 2016 15:23:36 +0000 (09:23 -0600)
35C at times in Bdale and Robert's production testing

ao-tools/ao-test-baro/ao-test-baro.c

index e883de4..b3058b8 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;