mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Copy-paste error on line 2829 in cli.c (#9197)
Copy-paste error on line 2829 in cli.c
This commit is contained in:
parent
1fa53a28b8
commit
15db6eca14
1 changed files with 1 additions and 1 deletions
|
@ -2817,7 +2817,7 @@ static void cliVtxTable(char *cmdline)
|
|||
tok = strtok_r(NULL, " ", &saveptr);
|
||||
|
||||
int channels = atoi(tok);
|
||||
if (channels < 0 || channels > VTX_TABLE_MAX_BANDS) {
|
||||
if (channels < 0 || channels > VTX_TABLE_MAX_CHANNELS) {
|
||||
cliPrintErrorLinef("INVALID CHANNEL COUNT (SHOULD BE BETWEEN 0 AND %d)", VTX_TABLE_MAX_CHANNELS);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue