Add missing extern "C" to header files (closes #104)

This commit is contained in:
Luke Wren
2021-02-09 14:47:16 +00:00
committed by graham sanderson
parent 0f4a5f8e60
commit d4c9dced40
11 changed files with 85 additions and 0 deletions

View File

@ -56,6 +56,10 @@
* \include hello_reset.c
*/
#ifdef __cplusplus
extern "C" {
#endif
/// \tag::reset_funcs[]
/*! \brief Reset the specified HW blocks
@ -88,4 +92,8 @@ static inline void unreset_block_wait(uint32_t bits) {
}
/// \end::reset_funcs[]
#ifdef __cplusplus
}
#endif
#endif