\r
static inline void USB_Device_GetSerialString(uint16_t* UnicodeString)\r
{\r
- uint_reg_t CurrentGlobalInt = USB_INT_GetGlobalEnableState();\r
- USB_INT_GlobalDisable();\r
+ uint_reg_t CurrentGlobalInt = GetGlobalInterruptMask();\r
+ GlobalInterruptDisable();\r
\r
uint8_t* SigReadAddress = (uint8_t*)0x80800204;\r
\r
(('A' - 10) + SerialByte) : ('0' + SerialByte));\r
}\r
\r
- USB_INT_SetGlobalEnableState(CurrentGlobalInt);\r
+ SetGlobalInterruptMask(CurrentGlobalInt);\r
}\r
#endif\r
\r