mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-23 16:25:26 +03:00
Skipped CLI resource command to save ROM
This commit is contained in:
parent
634fa93da3
commit
c1a7b14318
3 changed files with 5 additions and 3 deletions
|
@ -154,7 +154,7 @@ static void cliVersion(char *cmdline);
|
||||||
static void cliRxRange(char *cmdline);
|
static void cliRxRange(char *cmdline);
|
||||||
static void cliPFlags(char *cmdline);
|
static void cliPFlags(char *cmdline);
|
||||||
|
|
||||||
#ifndef SKIP_TASK_STATISTICS
|
#if !defined(SKIP_TASK_STATISTICS) && !defined(SKIP_CLI_RESOURCES)
|
||||||
static void cliResource(char *cmdline);
|
static void cliResource(char *cmdline);
|
||||||
#endif
|
#endif
|
||||||
#ifdef GPS
|
#ifdef GPS
|
||||||
|
@ -324,7 +324,7 @@ const clicmd_t cmdTable[] = {
|
||||||
CLI_COMMAND_DEF("profile", "change profile",
|
CLI_COMMAND_DEF("profile", "change profile",
|
||||||
"[<index>]", cliProfile),
|
"[<index>]", cliProfile),
|
||||||
CLI_COMMAND_DEF("rateprofile", "change rate profile", "[<index>]", cliRateProfile),
|
CLI_COMMAND_DEF("rateprofile", "change rate profile", "[<index>]", cliRateProfile),
|
||||||
#ifndef SKIP_TASK_STATISTICS
|
#if !defined(SKIP_TASK_STATISTICS) && !defined(SKIP_CLI_RESOURCES)
|
||||||
CLI_COMMAND_DEF("resource", "view currently used resources", NULL, cliResource),
|
CLI_COMMAND_DEF("resource", "view currently used resources", NULL, cliResource),
|
||||||
#endif
|
#endif
|
||||||
CLI_COMMAND_DEF("rxrange", "configure rx channel ranges", NULL, cliRxRange),
|
CLI_COMMAND_DEF("rxrange", "configure rx channel ranges", NULL, cliRxRange),
|
||||||
|
@ -2985,7 +2985,7 @@ void cliProcess(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef SKIP_TASK_STATISTICS
|
#if !defined(SKIP_TASK_STATISTICS) && !defined(SKIP_CLI_RESOURCES)
|
||||||
static void cliResource(char *cmdline)
|
static void cliResource(char *cmdline)
|
||||||
{
|
{
|
||||||
UNUSED(cmdline);
|
UNUSED(cmdline);
|
||||||
|
|
|
@ -199,6 +199,7 @@
|
||||||
#endif //OPBL
|
#endif //OPBL
|
||||||
|
|
||||||
|
|
||||||
|
#define SKIP_CLI_RESOURCES
|
||||||
#define SKIP_RX_MSP
|
#define SKIP_RX_MSP
|
||||||
#ifdef USE_RX_NRF24
|
#ifdef USE_RX_NRF24
|
||||||
#define SKIP_RX_PWM_PPM
|
#define SKIP_RX_PWM_PPM
|
||||||
|
|
|
@ -199,6 +199,7 @@
|
||||||
|
|
||||||
//#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
//#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||||
|
|
||||||
|
#define SKIP_CLI_RESOURCES
|
||||||
#define TARGET_MOTOR_COUNT 6
|
#define TARGET_MOTOR_COUNT 6
|
||||||
#define DISABLE_UNCOMMON_MIXERS
|
#define DISABLE_UNCOMMON_MIXERS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue