1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00

Merge pull request #310 from mikeller/add_restore_profile_switch_buffer

Enable CLI dump / restore of multiple profiles without buffer overrun
This commit is contained in:
borisbstyle 2016-03-29 15:08:27 +02:00
commit d95220327b

View file

@ -1993,6 +1993,7 @@ void cliDumpProfile(uint8_t profileIndex) {
changeProfile(profileIndex);
cliPrint("\r\n# profile\r\n");
cliProfile("");
cliPrintf("################################################################################");
printSectionBreak();
dumpValues(PROFILE_VALUE);
uint8_t currentRateIndex = currentProfile->activeRateProfile;