update TeleMega bench scripts for v5.0 hardware
[fw/altos] / ao-bringup / test-telemega
index b801b20c1fcb72762bce2d62e5f2a387fc03225f..14e4a4562acc09d6c8213acfd14aadece0c46df9 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/sh
 
-VERSION=2.0
+VERSION=5.0
 PRODUCT=TeleMega
 BASE=`echo $PRODUCT | tr 'A-Z' 'a-z'`
 
 echo "$PRODUCT-v$VERSION Test Program"
-echo "Copyright 2014 by Keith Packard.  Released under GPL v2"
+echo "Copyright 2021 by Bdale Garbee.  Released under GPL v3"
 echo
 echo "Expectations:"
 echo "\t$PRODUCT v$VERSION powered from USB"
@@ -18,7 +18,7 @@ ao-list | while read product serial dev; do
 
            echo "Testing $product $serial $dev"
 
-           ./test-igniters $dev main drogue 3 0 1 2
+           ./test-igniters $dev --rplus=100 --rminus=27 --adcmax=4095 main drogue 3 0 1 2
            echo""
 
            echo "Testing baro sensor"
@@ -60,6 +60,7 @@ ao-list | while read product serial dev; do
            echo""
 
            echo "$PRODUCT-v$VERSION" serial "$serial" is ready to ship
+           echo "\007"
            ret=0
            ;;
     esac