mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +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:
commit
d95220327b
1 changed files with 1 additions and 0 deletions
|
@ -1993,6 +1993,7 @@ void cliDumpProfile(uint8_t profileIndex) {
|
||||||
changeProfile(profileIndex);
|
changeProfile(profileIndex);
|
||||||
cliPrint("\r\n# profile\r\n");
|
cliPrint("\r\n# profile\r\n");
|
||||||
cliProfile("");
|
cliProfile("");
|
||||||
|
cliPrintf("################################################################################");
|
||||||
printSectionBreak();
|
printSectionBreak();
|
||||||
dumpValues(PROFILE_VALUE);
|
dumpValues(PROFILE_VALUE);
|
||||||
uint8_t currentRateIndex = currentProfile->activeRateProfile;
|
uint8_t currentRateIndex = currentProfile->activeRateProfile;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue