From 6c2455f4810f8dd048a3ff13a233a5f13b556ea4 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 15 Mar 2014 14:46:35 +0000 Subject: stmhal: Put an array in ROM. --- 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 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); -- cgit v1.2.3