Rename flash_ident command to flash_info

This commit is contained in:
Nicholas Sherlock 2015-02-16 18:07:58 +13:00
parent d6911e8b86
commit 892f1698d9
1 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ static void cliMixer(char *cmdline);
#endif
#ifdef USE_FLASHFS
static void cliFlashIdent(char *cmdline);
static void cliFlashInfo(char *cmdline);
static void cliFlashErase(char *cmdline);
static void cliFlashWrite(char *cmdline);
static void cliFlashRead(char *cmdline);
@ -183,7 +183,7 @@ const clicmd_t cmdTable[] = {
{ "feature", "list or -val or val", cliFeature },
#ifdef USE_FLASHFS
{ "flash_erase", "erase flash chip", cliFlashErase },
{ "flash_ident", "get flash chip details", cliFlashIdent },
{ "flash_info", "get flash chip details", cliFlashInfo },
{ "flash_read", "read text from the given address", cliFlashRead },
{ "flash_write", "write text to the given address", cliFlashWrite },
#endif
@ -756,7 +756,7 @@ static void cliColor(char *cmdline)
#ifdef USE_FLASHFS
static void cliFlashIdent(char *cmdline)
static void cliFlashInfo(char *cmdline)
{
const flashGeometry_t *layout = flashfsGetGeometry();