diff --git a/lib/bootloader b/lib/bootloader index b754ecb..40cbba1 160000 --- a/lib/bootloader +++ b/lib/bootloader @@ -1 +1 @@ -Subproject commit b754ecbe686ff8f622d658f6a5768c9ef1d89995 +Subproject commit 40cbba1da1107d8adc320a130b661c28c8087f62 diff --git a/right/src/usb_protocol_handler.c b/right/src/usb_protocol_handler.c index 6f8d97b..d3c8042 100644 --- a/right/src/usb_protocol_handler.c +++ b/right/src/usb_protocol_handler.c @@ -72,6 +72,7 @@ void reenumerate(void) { Wormhole.magicNumber = WORMHOLE_MAGIC_NUMBER; Wormhole.enumerationMode = GenericHidInBuffer[1]; + Wormhole.timeoutMs = *((uint32_t*)(GenericHidInBuffer+2)); SCB->AIRCR = 0x5FA<