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 32ada8a2de
commit b34995a549
11 changed files with 85 additions and 0 deletions

View File

@ -14,6 +14,9 @@
* Access to functions and data in the RP2040 bootrom
*/
#ifdef __cplusplus
extern "C" {
#endif
/*! \brief Return a bootrom lookup code based on two ASCII characters
* \ingroup pico_bootrom
@ -82,4 +85,8 @@ static inline void __attribute__((noreturn)) reset_usb_boot(uint32_t usb_activit
func(usb_activity_gpio_pin_mask, disable_interface_mask);
}
#ifdef __cplusplus
}
#endif
#endif