mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-23 07:58:09 +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;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user