mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
CJMCU - Disable cli playsound to save flash space.
This commit is contained in:
parent
8427583ba8
commit
e57c814e2a
2 changed files with 40 additions and 20 deletions
|
@ -1334,6 +1334,9 @@ static void cliMotor(char *cmdline)
|
|||
|
||||
static void cliPlaySound(char *cmdline)
|
||||
{
|
||||
#if FLASH_SIZE <= 64
|
||||
UNUSED(cmdline);
|
||||
#else
|
||||
int i;
|
||||
const char *name;
|
||||
static int lastSoundIdx = -1;
|
||||
|
@ -1363,6 +1366,7 @@ static void cliPlaySound(char *cmdline)
|
|||
beeperSilence();
|
||||
printf("Playing sound %d: %s\r\n", i, name);
|
||||
beeper(beeperModeForTableIndex(i));
|
||||
#endif
|
||||
}
|
||||
|
||||
static void cliProfile(char *cmdline)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue