From 4cc2718d59a839dfddc586c37540df1cfbb4e6da Mon Sep 17 00:00:00 2001 From: mikeller Date: Wed, 30 Mar 2016 01:47:22 +1300 Subject: [PATCH] Added printing of line of '#' after profile switch during dump to prevent buffer overrun on restore. --- src/main/io/serial_cli.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/io/serial_cli.c b/src/main/io/serial_cli.c index 3e4d761c8..036459842 100644 --- a/src/main/io/serial_cli.c +++ b/src/main/io/serial_cli.c @@ -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;