mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-24 22:27:46 +00:00
Merge pull request #4538
bd7b800f
device_io_hid: fix DEFAULT_* type (too short) and init time (moneromooo-monero)
This commit is contained in:
commit
18318e0dbc
1 changed files with 6 additions and 6 deletions
|
@ -86,13 +86,13 @@ namespace hw {
|
|||
public:
|
||||
bool hid_verbose = false;
|
||||
|
||||
const unsigned int OR_SELECT = 1;
|
||||
const unsigned int AND_SELECT = 2;
|
||||
static const unsigned int OR_SELECT = 1;
|
||||
static const unsigned int AND_SELECT = 2;
|
||||
|
||||
const unsigned char DEFAULT_CHANNEL = 0x0001;
|
||||
const unsigned char DEFAULT_TAG = 0x01;
|
||||
const unsigned int DEFAULT_PACKET_SIZE = 64;
|
||||
const unsigned int DEFAULT_TIMEOUT = 120000;
|
||||
static const unsigned short DEFAULT_CHANNEL = 0x0001;
|
||||
static const unsigned char DEFAULT_TAG = 0x01;
|
||||
static const unsigned int DEFAULT_PACKET_SIZE = 64;
|
||||
static const unsigned int DEFAULT_TIMEOUT = 120000;
|
||||
|
||||
device_io_hid(unsigned short channel, unsigned char tag, unsigned int packet_zize, unsigned int timeout);
|
||||
device_io_hid();
|
||||
|
|
Loading…
Reference in a new issue