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

@ -25,6 +25,10 @@
* \include hello_watchdog.c
*/
#ifdef __cplusplus
extern "C" {
#endif
/*! \brief Define actions to perform at watchdog timeout
* \ingroup hardware_watchdog
*
@ -84,4 +88,8 @@ bool watchdog_caused_reboot(void);
*/
uint32_t watchdog_get_count(void);
#ifdef __cplusplus
}
#endif
#endif