ao-bringup: get turnon_easymega working for v2.0
[fw/altos] / ao-bringup / test-easymega
index 2f0a7822335e8ea46fb2babdfb6bc568da593e39..1e419b4418813ca75f393e6dd73ae5050fa30087 100755 (executable)
@@ -1,25 +1,25 @@
 #!/bin/sh
 
-VERSION=1.0
+VERSION=2.0
 PRODUCT=EasyMega
 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 2018 by Bdale Garbee.  Released under GPL v2"
 echo
 echo "Expectations:"
 echo "\t$PRODUCT v$VERSION powered from USB"
 echo
 
 ret=1
-../ao-tools/ao-list/ao-list | while read product serial dev; do
+ao-list | while read product serial dev; do
     case "$product" in
        "$PRODUCT-v$VERSION")
 
            echo "Testing $product $serial $dev"
            echo ""
 
-           ./test-igniters $dev drogue main 0 1 2 3
+           ./test-igniters $dev main drogue 3 0 1 2
            echo""
 
            echo "Testing baro sensor"