mirror of
https://github.com/monero-project/monero.git
synced 2025-06-28 15:07:11 -04:00
device_ledger: factor the prologue code
This commit is contained in:
parent
896512b2b6
commit
87e158b5b9
2 changed files with 61 additions and 412 deletions
|
@ -102,6 +102,9 @@ namespace hw {
|
|||
void logRESP(void);
|
||||
unsigned int exchange(unsigned int ok=0x9000, unsigned int mask=0xFFFF);
|
||||
void reset_buffer(void);
|
||||
int set_command_header(BYTE ins, BYTE p1 = 0x00, BYTE p2 = 0x00);
|
||||
int set_command_header_noopt(BYTE ins, BYTE p1 = 0x00, BYTE p2 = 0x00);
|
||||
void send_simple(BYTE ins, BYTE p1 = 0x00);
|
||||
|
||||
// hw running mode
|
||||
device_mode mode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue