summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xao-bringup/turnon_teledongle2
-rw-r--r--ao-tools/ao-dumplog/ao-dumplog.16
2 files changed, 7 insertions, 1 deletions
diff --git a/ao-bringup/turnon_teledongle b/ao-bringup/turnon_teledongle
index 1786f251..97c1e419 100755
--- a/ao-bringup/turnon_teledongle
+++ b/ao-bringup/turnon_teledongle
@@ -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
diff --git a/ao-tools/ao-dumplog/ao-dumplog.1 b/ao-tools/ao-dumplog/ao-dumplog.1
index 8c2df7c6..d381e335 100644
--- a/ao-tools/ao-dumplog/ao-dumplog.1
+++ b/ao-tools/ao-dumplog/ao-dumplog.1
@@ -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