diff options
| author | Damien George | 2014-03-15 14:46:35 +0000 |
|---|---|---|
| committer | Damien George | 2014-03-15 14:46:35 +0000 |
| commit | 6c2455f4810f8dd048a3ff13a233a5f13b556ea4 (patch) | |
| tree | c4e9204829dacc45f8648f26b80c428fae720eef /stmhal/usbd_cdc_interface.h | |
| parent | fdbc22e4d27b9d1c686647c9c67a32206f7bc83a (diff) | |
stmhal: Put an array in ROM.
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 3411893ae..b50cbf4c2 100644 --- a/stmhal/usbd_cdc_interface.h +++ b/stmhal/usbd_cdc_interface.h @@ -47,7 +47,7 @@ The period depends on USBD_CDC_POLLING_INTERVAL */
#define USBD_CDC_POLLING_INTERVAL 10 /* in ms. The max is 65 and the min is 1 */
-extern USBD_CDC_ItfTypeDef USBD_CDC_fops;
+extern const USBD_CDC_ItfTypeDef USBD_CDC_fops;
void USBD_CDC_SetInterrupt(int chr, void *data);
void USBD_CDC_Tx(const char *str, uint32_t len);
|
