Ensure all demos now compile in C99 standards mode, and not GNU99 (C99 + GNU extensions).

This commit is contained in:
Dean Camera 2010-08-03 11:13:06 +00:00
parent 48c5cdced4
commit 98947e3750
7 changed files with 19 additions and 18 deletions

View file

@ -122,7 +122,7 @@ void EVENT_USB_Device_UnhandledControlRequest(void)
{
void* DescriptorPointer;
uint16_t DescriptorSize = USB_GetOSFeatureDescriptor(USB_ControlRequest.wValue, USB_ControlRequest.wIndex,
&DescriptorPointer, &DescriptorSize);
&DescriptorPointer);
if (DescriptorSize == NO_DESCRIPTOR)
return;