2929/* Private variables ---------------------------------------------------------*/
3030 uint32_t Max_Lun = 0 ;
3131
32- DEVICE Device_Table =
32+ const DEVICE Device_Table =
3333 {
3434 EP_NUM ,
3535 1
3636 };
3737
38- DEVICE_PROP MSC_Device_Property =
38+ const DEVICE_PROP MSC_Device_Property =
3939 {
4040 MASS_init ,
4141 MASS_Reset ,
@@ -51,7 +51,7 @@ DEVICE_PROP MSC_Device_Property =
5151 0x40 /*MAX PACKET SIZE*/
5252 };
5353
54- USER_STANDARD_REQUESTS MSC_User_Standard_Requests =
54+ const USER_STANDARD_REQUESTS MSC_User_Standard_Requests =
5555 {
5656 Mass_Storage_GetConfiguration ,
5757 Mass_Storage_SetConfiguration ,
@@ -64,19 +64,19 @@ USER_STANDARD_REQUESTS MSC_User_Standard_Requests =
6464 Mass_Storage_SetDeviceAddress
6565 };
6666
67- ONE_DESCRIPTOR MSC_Device_Descriptor =
67+ const ONE_DESCRIPTOR MSC_Device_Descriptor =
6868 {
6969 (uint8_t * )MASS_DeviceDescriptor ,
7070 MASS_SIZ_DEVICE_DESC
7171 };
7272
73- ONE_DESCRIPTOR MSC_Config_Descriptor =
73+ const ONE_DESCRIPTOR MSC_Config_Descriptor =
7474 {
7575 (uint8_t * )MASS_ConfigDescriptor ,
7676 MASS_SIZ_CONFIG_DESC
7777 };
7878
79- ONE_DESCRIPTOR MSC_String_Descriptor [5 ] =
79+ const ONE_DESCRIPTOR MSC_String_Descriptor [5 ] =
8080 {
8181 {(uint8_t * )MASS_StringLangID , MASS_SIZ_STRING_LANGID },
8282 {(uint8_t * )MASS_StringVendor , MASS_SIZ_STRING_VENDOR },
0 commit comments