diff options
Diffstat (limited to 'Demos/Device/ClassDriver/MassStorage/Descriptors.c')
| -rw-r--r-- | Demos/Device/ClassDriver/MassStorage/Descriptors.c | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/Demos/Device/ClassDriver/MassStorage/Descriptors.c b/Demos/Device/ClassDriver/MassStorage/Descriptors.c index d7d41c5bb..b1744e685 100644 --- a/Demos/Device/ClassDriver/MassStorage/Descriptors.c +++ b/Demos/Device/ClassDriver/MassStorage/Descriptors.c @@ -174,7 +174,9 @@ USB_Descriptor_String_t PROGMEM ProductString =   *  is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the   *  USB host.   */ -uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, const uint8_t wIndex, void** const DescriptorAddress) +uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, +                                    const uint8_t wIndex, +                                    void** const DescriptorAddress)  {  	const uint8_t  DescriptorType   = (wValue >> 8);  	const uint8_t  DescriptorNumber = (wValue & 0xFF); | 
