Bootloader version that's actually real

This commit is contained in:
William Toohey
2017-05-22 20:19:13 +10:00
parent 4a95c23bf4
commit ab7878a571
+1 -1
View File
@@ -158,7 +158,7 @@ void EVENT_USB_Device_ControlRequest(void)
/* Re-enable RWW section */
boot_rww_enable();
} else if(USB_ControlRequest.wIndex == COMMAND_VERSION) {
Endpoint_Write_16_LE(65000);
Endpoint_Write_16_LE(11);
Endpoint_ClearIN();
} else if(USB_ControlRequest.wIndex == COMMAND_STARTAPPLICATION) {
RunBootloader = false;