mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 09:57:34 +08:00
flashfs:Track upstream nuttx CONFIG_ARCH_HAVE_PROGMEM
Upstream header file is conditional on CONFIG_ARCH_HAVE_PROGMEM
This commit is contained in:
@@ -55,6 +55,8 @@
|
||||
#include <nuttx/compiler.h>
|
||||
#include <nuttx/progmem.h>
|
||||
|
||||
#if defined(CONFIG_ARCH_HAVE_PROGMEM)
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@@ -1116,3 +1118,4 @@ __EXPORT void test(void)
|
||||
free(buffer);
|
||||
}
|
||||
#endif /* FLASH_UNIT_TEST */
|
||||
#endif /* CONFIG_ARCH_HAVE_PROGMEM */
|
||||
|
||||
Reference in New Issue
Block a user