mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Made 'cliProcessCustomDefaults' static.
This commit is contained in:
parent
564f3031b2
commit
43feeb8196
1 changed files with 2 additions and 2 deletions
|
@ -680,7 +680,7 @@ static bool isWritingConfigToCopy()
|
|||
}
|
||||
|
||||
#if defined(USE_CUSTOM_DEFAULTS)
|
||||
bool cliProcessCustomDefaults(void);
|
||||
static bool cliProcessCustomDefaults(void);
|
||||
#endif
|
||||
|
||||
static void backupAndResetConfigs(const bool useCustomDefaults)
|
||||
|
@ -6547,7 +6547,7 @@ void cliProcess(void)
|
|||
}
|
||||
|
||||
#if defined(USE_CUSTOM_DEFAULTS)
|
||||
bool cliProcessCustomDefaults(void)
|
||||
static bool cliProcessCustomDefaults(void)
|
||||
{
|
||||
char *customDefaultsPtr = customDefaultsStart;
|
||||
if (processingCustomDefaults || !isCustomDefaults(customDefaultsPtr)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue