mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
logic and whitespace fixes in gps passthrough
This commit is contained in:
parent
05a61e9cda
commit
bff260c7c6
2 changed files with 6 additions and 8 deletions
|
@ -669,11 +669,10 @@ static void cliFeature(char *cmdline)
|
|||
|
||||
static void cliGpsPassthrough(char *cmdline)
|
||||
{
|
||||
cliPrint("Enabling GPS passthrough...");
|
||||
|
||||
if (gpsSetPassthrough() == -1) {
|
||||
if (gpsSetPassthrough() == -1)
|
||||
cliPrint("Error: Enable and plug in GPS first\r\n");
|
||||
}
|
||||
else
|
||||
cliPrint("Enabling GPS passthrough...\r\n");
|
||||
}
|
||||
|
||||
static void cliHelp(char *cmdline)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue