forked from mfulz_github/qmk_firmware
		
	Shorten the product string descriptors in the CDC and DFU bootloaders to ensure that differences in the toolchain version don't push it over a binary size boundary.
This commit is contained in:
		
							parent
							
								
									c8f7cf7621
								
							
						
					
					
						commit
						fc2cbe0700
					
				| @ -202,9 +202,9 @@ const USB_Descriptor_String_t ManufacturerString = | |||||||
|  */ |  */ | ||||||
| const USB_Descriptor_String_t ProductString = | const USB_Descriptor_String_t ProductString = | ||||||
| { | { | ||||||
| 	.Header                 = {.Size = USB_STRING_LEN(19), .Type = DTYPE_String}, | 	.Header                 = {.Size = USB_STRING_LEN(8), .Type = DTYPE_String}, | ||||||
| 
 | 
 | ||||||
| 	.UnicodeString          = L"LUFA CDC Bootloader" | 	.UnicodeString          = L"LUFA CDC" | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /** This function is called by the library when in device mode, and must be overridden (see LUFA library "USB Descriptors"
 | /** This function is called by the library when in device mode, and must be overridden (see LUFA library "USB Descriptors"
 | ||||||
|  | |||||||
| @ -143,9 +143,9 @@ const USB_Descriptor_String_t ManufacturerString = | |||||||
|  */ |  */ | ||||||
| const USB_Descriptor_String_t ProductString = | const USB_Descriptor_String_t ProductString = | ||||||
| { | { | ||||||
| 	.Header                 = {.Size = USB_STRING_LEN(19), .Type = DTYPE_String}, | 	.Header                 = {.Size = USB_STRING_LEN(8), .Type = DTYPE_String}, | ||||||
| 
 | 
 | ||||||
| 	.UnicodeString          = L"LUFA DFU Bootloader" | 	.UnicodeString          = L"LUFA DFU" | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors"
 | /** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors"
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera