mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-30 09:11:07 +00:00
legacy: remove Features.features field for now, will get reintroduced later
This commit is contained in:
parent
ba7b5c7232
commit
9d8ebfcdbc
@ -83,22 +83,6 @@ void fsm_msgGetFeatures(const GetFeatures *msg) {
|
|||||||
resp->has_model = true;
|
resp->has_model = true;
|
||||||
strlcpy(resp->model, "1", sizeof(resp->model));
|
strlcpy(resp->model, "1", sizeof(resp->model));
|
||||||
|
|
||||||
#if BITCOIN_ONLY
|
|
||||||
resp->features_count = 2;
|
|
||||||
resp->features[0] = Feature_Feature_Bitcoin;
|
|
||||||
resp->features[1] = Feature_Feature_Crypto;
|
|
||||||
#else
|
|
||||||
resp->features_count = 8;
|
|
||||||
resp->features[0] = Feature_Feature_Bitcoin;
|
|
||||||
resp->features[1] = Feature_Feature_Bitcoin_like;
|
|
||||||
resp->features[2] = Feature_Feature_Crypto;
|
|
||||||
resp->features[3] = Feature_Feature_Ethereum;
|
|
||||||
resp->features[4] = Feature_Feature_Lisk;
|
|
||||||
resp->features[5] = Feature_Feature_NEM;
|
|
||||||
resp->features[6] = Feature_Feature_Stellar;
|
|
||||||
resp->features[7] = Feature_Feature_U2F;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
msg_write(MessageType_MessageType_Features, resp);
|
msg_write(MessageType_MessageType_Features, resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user