Update for C++ compiler compatibility
Update flash_map_backend.h to be compatible with a C++ compiler Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com> Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
f4df58f347
commit
1595488a92
|
@ -26,6 +26,10 @@
|
|||
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
****************************************************************************/
|
||||
|
@ -419,4 +423,8 @@ int flash_area_id_to_multi_image_slot(int image_index, int area_id);
|
|||
|
||||
int flash_area_id_from_image_offset(uint32_t offset);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __BOOT_NUTTX_INCLUDE_FLASH_MAP_BACKEND_FLASH_MAP_BACKEND_H */
|
||||
|
|
Loading…
Reference in New Issue