From f0c5dfe8b8f47211f03454da036223d65e08249c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 29 Jan 2017 15:36:02 +1100 Subject: Restrict HID bootloader programming region (thanks to NicoHood). --- Bootloaders/HID/Descriptors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bootloaders/HID/Descriptors.c') diff --git a/Bootloaders/HID/Descriptors.c b/Bootloaders/HID/Descriptors.c index 4c475db51..70dc9d0d3 100644 --- a/Bootloaders/HID/Descriptors.c +++ b/Bootloaders/HID/Descriptors.c @@ -110,7 +110,7 @@ const USB_Descriptor_Configuration_t ConfigurationDescriptor = { .Header = {.Size = sizeof(USB_Descriptor_Interface_t), .Type = DTYPE_Interface}, - .InterfaceNumber = INTERFACE_ID_Printer, + .InterfaceNumber = INTERFACE_ID_GenericHID, .AlternateSetting = 0x00, .TotalEndpoints = 1, -- cgit v1.2.3