diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-12-15 12:45:56 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-15 12:45:56 +1100 |
| commit | 979ab4e126dacca4d7fbbd0e71c849365ef2c947 (patch) | |
| tree | c1e2791f974da4bd29af32aad6cb609e2763c242 /stmhal/usbd_cdc_interface.h | |
| parent | f254cfd3c46432efabf837668c91271fddc8ea27 (diff) | |
stmhal/usb: Always use the mp_kbd_exception object for VCP interrupt.
There's no need to store a separate pointer to this object.
Diffstat (limited to 'stmhal/usbd_cdc_interface.h')
| -rw-r--r-- | stmhal/usbd_cdc_interface.h | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|
