Merge remote branch 'origin/master'
authorKeith Packard <keithp@keithp.com>
Fri, 12 Mar 2010 18:38:26 +0000 (10:38 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 12 Mar 2010 18:38:26 +0000 (10:38 -0800)
ao-bringup/turnon_teledongle
ao-tools/ao-dumplog/ao-dumplog.1

index 1786f25134b737bcadb7f664d49e7a57648b6ea8..97c1e419b981bc6086a16e5f734914321268b164 100755 (executable)
@@ -19,7 +19,7 @@ sleep 5
 echo -n "Generating RF carrier.  Please enter measured frequency: "
 read FREQ
 
-CAL_VALUE=`nickle -e "ceil(434.55 / $FREQ * 1186611)"`
+CAL_VALUE=`nickle -e "floor(434.55 / $FREQ * 1186611 + 0.5)"`
 
 echo "Programming flash with cal value " $CAL_VALUE
 ao-load --cal $CAL_VALUE /usr/share/altos/teledongle-v0.2.ihx $SERIAL
index 8c2df7c617e6d295090f1cbc5e308ff329e4b278..d381e335b09c909bead882803f160d10bae4c067 100644 (file)
@@ -25,6 +25,8 @@ ao-dumplog \- Store flight log from TeleMetrum device
 [\--tty \fItty-device\fP]
 [\-D \fIaltos-device\fP]
 [\--device \fIaltos-device\fP]
+[\--R\fP]
+[\--remote\fP]
 .SH OPTIONS
 .TP
 \-T tty-device | --tty tty-device
@@ -44,6 +46,10 @@ TeleMetrum
 Leaving out the product name will cause the tool to select a suitable
 product, leaving out the serial number will cause the tool to match
 one of the available devices.
+.TP
+\-R | --remote
+This uses the command radio link to download the log from TeleMetrum
+through a TeleDongle.
 .SH DESCRIPTION
 .I ao-dumplog
 downloads the flight log from a connected TeleMetrum device and stores