Add missing extern "C" to header files (closes #104)
This commit is contained in:
committed by
graham sanderson
parent
0f4a5f8e60
commit
d4c9dced40
@ -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
|
||||
|
Reference in New Issue
Block a user