Merge pull request #7633 from mikeller/reorder_cli_diff

Put display name in CLI 'diff' in a better position.
This commit is contained in:
Michael Keller 2019-02-23 13:43:30 +13:00 committed by GitHub
commit d86310bea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -5030,11 +5030,6 @@ static void printConfig(char *cmdline, bool doDiff)
cliPrintHashLine("name");
printName(dumpMask, &pilotConfig_Copy);
#ifdef USE_OSD
cliPrintHashLine("display_name");
printDisplayName(dumpMask, &pilotConfig_Copy);
#endif
#ifdef USE_RESOURCE_MGMT
cliPrintHashLine("resources");
printResource(dumpMask);
@ -5118,6 +5113,11 @@ static void printConfig(char *cmdline, bool doDiff)
cliPrintHashLine("rxfail");
printRxFailsafe(dumpMask, rxFailsafeChannelConfigs_CopyArray, rxFailsafeChannelConfigs(0));
#ifdef USE_OSD
cliPrintHashLine("display_name");
printDisplayName(dumpMask, &pilotConfig_Copy);
#endif
cliPrintHashLine("master");
dumpAllValues(MASTER_VALUE, dumpMask);