Added printing of line of '#' after profile switch during dump to prevent buffer overrun on restore.

This commit is contained in:
mikeller 2016-03-30 01:47:22 +13:00
parent 4ec5166c0f
commit 4cc2718d59
1 changed files with 1 additions and 0 deletions

View File

@ -1986,6 +1986,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;