Added printing of line of '#' after profile switch during dump to prevent buffer overrun on restore.
This commit is contained in:
parent
4ec5166c0f
commit
4cc2718d59
|
@ -1986,6 +1986,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…
Reference in New Issue