Rename flash_ident command to flash_info
This commit is contained in:
parent
d6911e8b86
commit
892f1698d9
|
@ -120,7 +120,7 @@ static void cliMixer(char *cmdline);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_FLASHFS
|
#ifdef USE_FLASHFS
|
||||||
static void cliFlashIdent(char *cmdline);
|
static void cliFlashInfo(char *cmdline);
|
||||||
static void cliFlashErase(char *cmdline);
|
static void cliFlashErase(char *cmdline);
|
||||||
static void cliFlashWrite(char *cmdline);
|
static void cliFlashWrite(char *cmdline);
|
||||||
static void cliFlashRead(char *cmdline);
|
static void cliFlashRead(char *cmdline);
|
||||||
|
@ -183,7 +183,7 @@ const clicmd_t cmdTable[] = {
|
||||||
{ "feature", "list or -val or val", cliFeature },
|
{ "feature", "list or -val or val", cliFeature },
|
||||||
#ifdef USE_FLASHFS
|
#ifdef USE_FLASHFS
|
||||||
{ "flash_erase", "erase flash chip", cliFlashErase },
|
{ "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_read", "read text from the given address", cliFlashRead },
|
||||||
{ "flash_write", "write text to the given address", cliFlashWrite },
|
{ "flash_write", "write text to the given address", cliFlashWrite },
|
||||||
#endif
|
#endif
|
||||||
|
@ -756,7 +756,7 @@ static void cliColor(char *cmdline)
|
||||||
|
|
||||||
#ifdef USE_FLASHFS
|
#ifdef USE_FLASHFS
|
||||||
|
|
||||||
static void cliFlashIdent(char *cmdline)
|
static void cliFlashInfo(char *cmdline)
|
||||||
{
|
{
|
||||||
const flashGeometry_t *layout = flashfsGetGeometry();
|
const flashGeometry_t *layout = flashfsGetGeometry();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue