From dd1e91528de1f7b90c39de215cb549cd2f140f4f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 14 Feb 2024 11:31:50 +1100 Subject: [PATCH] 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 --- libraries/AP_Param/AP_Param.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Param/AP_Param.cpp b/libraries/AP_Param/AP_Param.cpp index e3983e2812..7d203239b8 100644 --- a/libraries/AP_Param/AP_Param.cpp +++ b/libraries/AP_Param/AP_Param.cpp @@ -2370,7 +2370,7 @@ bool AP_Param::load_defaults_file(const char *filename, bool last_pass) #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 */