Skip to content

Commit 6abdeec

Browse files
projectguscmaglie
authored andcommitted
Fix whitespace (tabify), oops
1 parent a7ad83c commit 6abdeec

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hardware/arduino/avr/cores/arduino/USBCore.cpp

+7-7
Original file line numberDiff line numberDiff line change
@@ -504,22 +504,22 @@ bool SendDescriptor(Setup& setup)
504504
}
505505
else if (USB_STRING_DESCRIPTOR_TYPE == t)
506506
{
507-
if (setup.wValueL == 0) {
507+
if (setup.wValueL == 0) {
508508
desc_addr = (const u8*)&STRING_LANGUAGE;
509-
}
509+
}
510510
else if (setup.wValueL == IPRODUCT) {
511-
return USB_SendStringDescriptor(STRING_PRODUCT, strlen(USB_PRODUCT));
512-
}
511+
return USB_SendStringDescriptor(STRING_PRODUCT, strlen(USB_PRODUCT));
512+
}
513513
else if (setup.wValueL == IMANUFACTURER) {
514-
return USB_SendStringDescriptor(STRING_MANUFACTURER, strlen(USB_MANUFACTURER));
515-
}
514+
return USB_SendStringDescriptor(STRING_MANUFACTURER, strlen(USB_MANUFACTURER));
515+
}
516516
else
517517
return false;
518518
}
519519

520520
if (desc_addr == 0)
521521
return false;
522-
u8 desc_length = pgm_read_byte(desc_addr);
522+
u8 desc_length = pgm_read_byte(desc_addr);
523523

524524
USB_SendControl(TRANSFER_PGM,desc_addr,desc_length);
525525
return true;

0 commit comments

Comments
 (0)