AP_Param: fixed cygwin build

the cygwin build is not generating binaries failing with:

   undefined reference to `AP_Param::load_param_defaults(char const volatile*, int, bool)

there is a 2nd problem that the CI test for cygwin doesn't fail when
the build fails. That will be addressed separately
This commit is contained in:
Andrew Tridgell 2024-02-14 11:31:50 +11:00
parent a16d71ced4
commit 08468904db
1 changed files with 1 additions and 1 deletions

View File

@ -2370,7 +2370,7 @@ bool AP_Param::load_defaults_file(const char *filename, bool last_pass)
#endif // AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED #endif // AP_PARAM_DEFAULTS_FILE_PARSING_ENABLED
#if AP_PARAM_MAX_EMBEDDED_PARAM > 0 || (!AP_FILESYSTEM_FILE_READING_ENABLED && defined(HAL_HAVE_AP_ROMFS_EMBEDDED_H)) #if AP_PARAM_MAX_EMBEDDED_PARAM > 0 || (AP_FILESYSTEM_FILE_READING_ENABLED && defined(HAL_HAVE_AP_ROMFS_EMBEDDED_H))
/* /*
count the number of parameter defaults present in supplied string count the number of parameter defaults present in supplied string
*/ */