The great ApduStatusCode encroachment

This commit is contained in:
Kamran Khan
2020-12-10 20:15:05 -08:00
parent 21bdbd8114
commit 29dbff7a40
3 changed files with 30 additions and 79 deletions

View File

@@ -23,6 +23,12 @@ pub enum ApduStatusCode {
SW_INTERNAL_EXCEPTION = 0x6f_00,
}
impl From<ApduStatusCode> for u16 {
fn from(_: ApduStatusCode) -> Self {
0
}
}
#[allow(dead_code)]
pub enum ApduInstructions {
Select = 0xA4,