We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53556e5 commit 28f4b95Copy full SHA for 28f4b95
usb/device/dev_lowlevel/dev_lowlevel.c
@@ -488,6 +488,9 @@ static void usb_handle_buff_status() {
488
* @brief USB interrupt handler
489
*
490
*/
491
+#ifdef __cplusplus
492
+extern "C" {
493
+#endif
494
/// \tag::isr_setup_packet[]
495
void isr_usbctrl(void) {
496
// USB interrupt handler
@@ -520,6 +523,9 @@ void isr_usbctrl(void) {
520
523
panic("Unhandled IRQ 0x%x\n", (uint) (status ^ handled));
521
524
}
522
525
526
527
+}
528
529
530
/**
531
* @brief EP0 in transfer complete. Either finish the SET_ADDRESS process, or receive a zero
0 commit comments