forked from mfulz_github/qmk_firmware
Fix small error in last commit preventing compilation in some circumstances.
This commit is contained in:
parent
37f8a84f35
commit
32086e4f14
|
@ -144,8 +144,9 @@ static void USB_Device_SetConfiguration(void)
|
||||||
|
|
||||||
if (CALLBACK_USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DevDescriptorPtr
|
if (CALLBACK_USB_GetDescriptor((DTYPE_Device << 8), 0, (void*)&DevDescriptorPtr
|
||||||
#if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
|
#if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
|
||||||
, &MemoryAddressSpace) == NO_DESCRIPTOR)
|
, &MemoryAddressSpace
|
||||||
#endif
|
#endif
|
||||||
|
) == NO_DESCRIPTOR)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue