Fix up tune control docs

This commit is contained in:
Hamish Willee
2018-10-10 10:30:11 +02:00
committed by Beat Küng
parent 6212e9c752
commit 629933d0c8
+6 -2
View File
@@ -63,10 +63,14 @@ static void
usage() usage()
{ {
PX4_INFO( PX4_INFO(
"External tune control for testing. Usage:\n" "External tune control for testing.\n\n"
"For information about tune format/system tunes see:\n"
"https://github.com/PX4/Firmware/blob/master/src/lib/tunes/tune_definition.desc.\n\n"
"Usage:\n"
"tune_control play [-t <default tunes>] [-f <frequency>] [-d <duration>] [-s <strength>] [-m < melody>]\n" "tune_control play [-t <default tunes>] [-f <frequency>] [-d <duration>] [-s <strength>] [-m < melody>]\n"
"\n" "\n"
"\t-t <defualt tunes>\tPlay the default (1...15) (default=1)\n" "\t-t <system tunes>\tPlay a predefined system tune (default=1)\n"
"\t-f <frequency>\t\tFrequency from 0-20kHz\n" "\t-f <frequency>\t\tFrequency from 0-20kHz\n"
"\t-d <duration>\t\tDuration of the tone in us\n" "\t-d <duration>\t\tDuration of the tone in us\n"
"\t-s <strength>\t\tStrength of the tone between 0-100\n" "\t-s <strength>\t\tStrength of the tone between 0-100\n"