mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
missed some name changes from sPort to frsky
This commit is contained in:
parent
cfc3af8374
commit
d96a17adfb
@ -33,7 +33,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* @file sPort_telemetry.c
|
||||
* @file frsky_telemetry.c
|
||||
* @author Stefan Rado <px4@sradonia.net>
|
||||
* @author Mark Whitehorn <kd0aij@github.com>
|
||||
*
|
||||
@ -140,9 +140,9 @@ static int set_uart_speed(int uart, struct termios *uart_config, speed_t speed)
|
||||
static void usage()
|
||||
{
|
||||
fprintf(stderr,
|
||||
"usage: sPort_telemetry start [-d <devicename>]\n"
|
||||
" sPort_telemetry stop\n"
|
||||
" sPort_telemetry status\n");
|
||||
"usage: frsky_telemetry start [-d <devicename>]\n"
|
||||
" frsky_telemetry stop\n"
|
||||
" frsky_telemetry status\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
@ -373,7 +373,7 @@ int frsky_telemetry_main(int argc, char *argv[])
|
||||
|
||||
/* this is not an error */
|
||||
if (thread_running) {
|
||||
errx(0, "sPort_telemetry already running");
|
||||
errx(0, "frsky_telemetry already running");
|
||||
}
|
||||
|
||||
thread_should_exit = false;
|
||||
@ -395,7 +395,7 @@ int frsky_telemetry_main(int argc, char *argv[])
|
||||
|
||||
/* this is not an error */
|
||||
if (!thread_running) {
|
||||
errx(0, "sPort_telemetry already stopped");
|
||||
errx(0, "frsky_telemetry already stopped");
|
||||
}
|
||||
|
||||
thread_should_exit = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user