1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Rename FLASHFS to USE_FLASHFS

This commit is contained in:
Nicholas Sherlock 2015-02-14 09:45:56 +13:00
parent 3b8e05fb46
commit 6423ac7db1
7 changed files with 28 additions and 19 deletions

View file

@ -112,7 +112,7 @@ static void cliColor(char *cmdline);
static void cliMixer(char *cmdline);
#endif
#ifdef FLASHFS
#ifdef USE_FLASHFS
static void cliFlashIdent(char *cmdline);
static void cliFlashErase(char *cmdline);
static void cliFlashWrite(char *cmdline);
@ -174,7 +174,7 @@ const clicmd_t cmdTable[] = {
{ "dump", "print configurable settings in a pastable form", cliDump },
{ "exit", "", cliExit },
{ "feature", "list or -val or val", cliFeature },
#ifdef FLASHFS
#ifdef USE_FLASHFS
{ "flash_erase", "erase flash chip", cliFlashErase },
{ "flash_ident", "get flash chip details", cliFlashIdent },
{ "flash_read", "read text from the given address", cliFlashRead },
@ -745,7 +745,7 @@ static void cliColor(char *cmdline)
}
#endif
#ifdef FLASHFS
#ifdef USE_FLASHFS
static void cliFlashIdent(char *cmdline)
{