mirror of
https://github.com/trussed-dev/iso7816.git
synced 2026-06-20 04:16:14 -07:00
substitute all uses of semihosting and funnel with logging crate
This commit is contained in:
committed by
Nicolas Stalder
parent
63470f239c
commit
e78c6f49e8
@@ -10,6 +10,7 @@ pub enum Instruction {
|
||||
GenerateAsymmetricKeyPair,
|
||||
GetResponse,
|
||||
ReadBinary,
|
||||
WriteBinary,
|
||||
Unknown(u8),
|
||||
}
|
||||
|
||||
@@ -28,6 +29,7 @@ impl core::convert::From<u8> for Instruction {
|
||||
0xcb => Instruction::GetData,
|
||||
0xdb => Instruction::PutData,
|
||||
0xb0 => Instruction::ReadBinary,
|
||||
0xd0 => Instruction::WriteBinary,
|
||||
ins => Instruction::Unknown(ins),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user