mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Addressed concern about not using 'FC_FIRMWARE_NAME'.
This commit is contained in:
parent
35e075098d
commit
e441549b58
1 changed files with 1 additions and 1 deletions
|
@ -4179,7 +4179,7 @@ static void cliSave(char *cmdline)
|
||||||
#if defined(USE_CUSTOM_DEFAULTS)
|
#if defined(USE_CUSTOM_DEFAULTS)
|
||||||
static bool isDefaults(char *ptr)
|
static bool isDefaults(char *ptr)
|
||||||
{
|
{
|
||||||
return strncmp(ptr, "# Betaflight", 12) == 0;
|
return strncmp(ptr, "# " FC_FIRMWARE_NAME, 12) == 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue