mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
move global connection flags to cnn struct
This commit is contained in:
parent
01b31c742b
commit
3b6a249646
3 changed files with 16 additions and 15 deletions
|
@ -42,13 +42,13 @@ typedef enum {
|
|||
typedef struct {
|
||||
bool run; // If TRUE, continue running the uart_communication thread
|
||||
bool block_after_ACK; // if true, block after receiving an ACK package
|
||||
// Flags to tell where to add CRC on sent replies
|
||||
bool send_with_crc_on_usb;
|
||||
bool send_with_crc_on_fpc;
|
||||
// "Session" flag, to tell via which interface next msgs are sent: USB or FPC USART
|
||||
bool send_via_fpc;
|
||||
} communication_arg_t;
|
||||
|
||||
// Flags to tell where to add CRC on sent replies
|
||||
extern bool send_with_crc_on_usb;
|
||||
extern bool send_with_crc_on_fpc;
|
||||
// "Session" flag, to tell via which interface next msgs are sent: USB or FPC USART
|
||||
extern bool send_via_fpc;
|
||||
extern communication_arg_t conn;
|
||||
|
||||
void SetOffline(bool value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue