1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Addressed concern about not using 'FC_FIRMWARE_NAME'.

This commit is contained in:
mikeller 2019-08-01 22:30:57 +12:00
parent 35e075098d
commit e441549b58

View file

@ -4179,7 +4179,7 @@ static void cliSave(char *cmdline)
#if defined(USE_CUSTOM_DEFAULTS)
static bool isDefaults(char *ptr)
{
return strncmp(ptr, "# Betaflight", 12) == 0;
return strncmp(ptr, "# " FC_FIRMWARE_NAME, 12) == 0;
}
#endif