diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-20 10:40:09 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-06-25 12:35:10 +0100 |
commit | 87e158b5b9282fca932b9eff0488dd933409a3b3 (patch) | |
tree | 7ababaf41e853f694acf6fadbf980f93a0c06e28 /src/device/device_ledger.hpp | |
parent | Merge pull request #3878 (diff) | |
download | monero-87e158b5b9282fca932b9eff0488dd933409a3b3.tar.xz |
device_ledger: factor the prologue code
Diffstat (limited to 'src/device/device_ledger.hpp')
-rw-r--r-- | src/device/device_ledger.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index b62bdf959..c30a38aca 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -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; |