From 979ab4e126dacca4d7fbbd0e71c849365ef2c947 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 15 Dec 2016 12:45:56 +1100 Subject: stmhal/usb: Always use the mp_kbd_exception object for VCP interrupt. There's no need to store a separate pointer to this object. --- stmhal/usbd_cdc_interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/usbd_cdc_interface.h') diff --git a/stmhal/usbd_cdc_interface.h b/stmhal/usbd_cdc_interface.h index f74b42bbe..2ea1a42c4 100644 --- a/stmhal/usbd_cdc_interface.h +++ b/stmhal/usbd_cdc_interface.h @@ -32,7 +32,7 @@ extern const USBD_CDC_ItfTypeDef USBD_CDC_fops; int USBD_CDC_IsConnected(void); -void USBD_CDC_SetInterrupt(int chr, void *data); +void USBD_CDC_SetInterrupt(int chr); int USBD_CDC_TxHalfEmpty(void); int USBD_CDC_Tx(const uint8_t *buf, uint32_t len, uint32_t timeout); -- cgit v1.2.3