Add missing extern "C" to header files (closes #104)
This commit is contained in:
committed by
graham sanderson
parent
0f4a5f8e60
commit
d4c9dced40
@ -42,6 +42,10 @@
|
||||
#define PICO_STDIO_USB_LOW_PRIORITY_IRQ 31
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern stdio_driver_t stdio_usb;
|
||||
|
||||
/*! \brief Explicitly initialize USB stdio and add it to the current set of stdin drivers
|
||||
@ -49,4 +53,8 @@ extern stdio_driver_t stdio_usb;
|
||||
*/
|
||||
bool stdio_usb_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user