mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
Make errors in 'diff' / 'dump' easier to spot and parse.
This commit is contained in:
parent
e053965489
commit
bad72c884a
1 changed files with 2 additions and 2 deletions
|
@ -392,7 +392,7 @@ static void cliPrintLinef(const char *format, ...)
|
||||||
|
|
||||||
static void cliPrintErrorLinef(const char *format, ...)
|
static void cliPrintErrorLinef(const char *format, ...)
|
||||||
{
|
{
|
||||||
cliPrint("###");
|
cliPrint("###ERROR: ");
|
||||||
va_list va;
|
va_list va;
|
||||||
va_start(va, format);
|
va_start(va, format);
|
||||||
cliPrintfva(format, va);
|
cliPrintfva(format, va);
|
||||||
|
@ -402,7 +402,7 @@ static void cliPrintErrorLinef(const char *format, ...)
|
||||||
|
|
||||||
static void cliPrintCorruptMessage(int value)
|
static void cliPrintCorruptMessage(int value)
|
||||||
{
|
{
|
||||||
cliPrintf("%d ###CORRUPTED CONFIG###", value);
|
cliPrintf("%d ###ERROR: CORRUPTED CONFIG###", value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void getMinMax(const clivalue_t *var, int *min, int *max)
|
static void getMinMax(const clivalue_t *var, int *min, int *max)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue