Commit 1595488a authored by Andrés Sánchez Pascual's avatar Andrés Sánchez Pascual Committed by Andrzej Puzdrowski
Browse files

Update for C++ compiler compatibility



Update flash_map_backend.h to be compatible with a C++ compiler

Signed-off-by: default avatarAndrés Sánchez Pascual <tito97_sp@hotmail.com>
Signed-off-by: default avatarGitHub <noreply@github.com>
parent f4df58f3
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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 */