mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-27 01:48:17 +00:00
bootloader: react to GetFeatures too
This commit is contained in:
parent
2a4a298d58
commit
e0b5526f27
@ -292,6 +292,10 @@ static void rx_callback(usbd_device *dev, uint8_t ep)
|
|||||||
flash_state = STATE_OPEN;
|
flash_state = STATE_OPEN;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (msg_id == 0x0037) { // GetFeatures message (id 55)
|
||||||
|
send_msg_features(dev);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (msg_id == 0x0001) { // Ping message (id 1)
|
if (msg_id == 0x0001) { // Ping message (id 1)
|
||||||
send_msg_success(dev);
|
send_msg_success(dev);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user