From 8cf700f7f418cb28e2d9dfceb573cd0c84ff4ebb Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Thu, 2 Mar 2017 14:17:50 +1300 Subject: [PATCH] Cleaned up output of CLI diff / dump. --- src/main/fc/cli.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/fc/cli.c b/src/main/fc/cli.c index 48c4e0fe5..841da9536 100755 --- a/src/main/fc/cli.c +++ b/src/main/fc/cli.c @@ -3443,11 +3443,9 @@ static void cliDumpProfile(uint8_t profileIndex, uint8_t dumpMask, const master_ #ifdef USE_PARAMETER_GROUPS (void)(defaultConfig); dumpAllValues(PROFILE_VALUE, dumpMask); - dumpAllValues(PROFILE_RATE_VALUE, dumpMask); #else dumpValues(PROFILE_VALUE, dumpMask, defaultConfig); #endif - cliRateProfile(""); } static void cliDumpRateProfile(uint8_t rateProfileIndex, uint8_t dumpMask, const master_t *defaultConfig) @@ -4148,6 +4146,7 @@ static void printConfig(char *cmdline, bool doDiff) cliPrint("save"); } else { cliDumpProfile(getCurrentProfileIndex(), dumpMask, &defaultConfig); + cliDumpRateProfile(getCurrentControlRateProfileIndex(), dumpMask, &defaultConfig); } }