mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 07:51:36 +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/compiler.h>
|
||||||
#include <nuttx/progmem.h>
|
#include <nuttx/progmem.h>
|
||||||
|
|
||||||
|
#if defined(CONFIG_ARCH_HAVE_PROGMEM)
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -1116,3 +1118,4 @@ __EXPORT void test(void)
|
|||||||
free(buffer);
|
free(buffer);
|
||||||
}
|
}
|
||||||
#endif /* FLASH_UNIT_TEST */
|
#endif /* FLASH_UNIT_TEST */
|
||||||
|
#endif /* CONFIG_ARCH_HAVE_PROGMEM */
|
||||||
|
|||||||
Reference in New Issue
Block a user