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 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;