Fix newline issue in CLI for allowed range

This commit is contained in:
KiteAnton 2016-06-26 19:14:14 +02:00
parent db5453b6fd
commit 2f85dfc365
1 changed files with 2 additions and 2 deletions

View File

@ -2675,7 +2675,7 @@ static void cliPrintVarRange(const clivalue_t *var)
{
switch (var->type & VALUE_MODE_MASK) {
case (MODE_DIRECT): {
cliPrintf("Allowed range: %d - %d\n", var->config.minmax.min, var->config.minmax.max);
cliPrintf("Allowed range: %d - %d\r\n", var->config.minmax.min, var->config.minmax.max);
}
break;
case (MODE_LOOKUP): {
@ -2687,7 +2687,7 @@ static void cliPrintVarRange(const clivalue_t *var)
cliPrint(",");
cliPrintf(" %s", tableEntry->values[i]);
}
cliPrint("\n");
cliPrint("\r\n");
}
break;
}