From e0b5526f274618a650bee55f765e88f5b90263d9 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 7 Mar 2018 14:16:24 +0100 Subject: [PATCH] bootloader: react to GetFeatures too --- bootloader/usb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bootloader/usb.c b/bootloader/usb.c index 57d70cd1a8..76ca596a0b 100644 --- a/bootloader/usb.c +++ b/bootloader/usb.c @@ -292,6 +292,10 @@ static void rx_callback(usbd_device *dev, uint8_t ep) flash_state = STATE_OPEN; return; } + if (msg_id == 0x0037) { // GetFeatures message (id 55) + send_msg_features(dev); + return; + } if (msg_id == 0x0001) { // Ping message (id 1) send_msg_success(dev); return;