mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 08:08:53 +08:00
style clean
This commit is contained in:
parent
6447653c64
commit
6a444eb208
1 changed files with 4 additions and 22 deletions
|
@ -145,17 +145,7 @@ typedef struct {
|
||||||
#define TRACELOG_HDR_LEN sizeof(tracelog_hdr_t)
|
#define TRACELOG_HDR_LEN sizeof(tracelog_hdr_t)
|
||||||
#define TRACELOG_PARITY_LEN(x) (((x)->data_len - 1) / 8 + 1)
|
#define TRACELOG_PARITY_LEN(x) (((x)->data_len - 1) / 8 + 1)
|
||||||
|
|
||||||
/*
|
// T55XX - Extended to support 1 of 4 timing
|
||||||
typedef struct {
|
|
||||||
uint16_t start_gap;
|
|
||||||
uint16_t write_gap;
|
|
||||||
uint16_t write_0;
|
|
||||||
uint16_t write_1;
|
|
||||||
uint16_t read_gap;
|
|
||||||
} t55xx_config;
|
|
||||||
*/
|
|
||||||
|
|
||||||
// Extended to support 1 of 4 timing
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint16_t start_gap;
|
uint16_t start_gap;
|
||||||
uint16_t write_gap;
|
uint16_t write_gap;
|
||||||
|
@ -166,22 +156,14 @@ typedef struct {
|
||||||
uint16_t write_3;
|
uint16_t write_3;
|
||||||
} t55xx_config_t;
|
} t55xx_config_t;
|
||||||
|
|
||||||
// This setup will allow for the 4 downlink modes "m" as well as other items if needed.
|
// T55XX - This setup will allow for the 4 downlink modes "m" as well as other items if needed.
|
||||||
// Given the one struct we can then read/write to flash/client in one go.
|
// Given the one struct we can then read/write to flash/client in one go.
|
||||||
typedef struct {
|
typedef struct {
|
||||||
t55xx_config_t m[4]; // mode
|
t55xx_config_t m[4]; // mode
|
||||||
} t55xx_configurations_t;
|
} t55xx_configurations_t;
|
||||||
|
|
||||||
/*typedef struct {
|
|
||||||
uint16_t start_gap [4];
|
// Capabilities struct to keep track of what functions was compiled in the device firmware
|
||||||
uint16_t write_gap [4];
|
|
||||||
uint16_t write_0 [4];
|
|
||||||
uint16_t write_1 [4];
|
|
||||||
uint16_t write_2 [4];
|
|
||||||
uint16_t write_3 [4];
|
|
||||||
uint16_t read_gap [4];
|
|
||||||
} t55xx_config;
|
|
||||||
*/
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t version;
|
uint8_t version;
|
||||||
uint32_t baudrate;
|
uint32_t baudrate;
|
||||||
|
|
Loading…
Reference in a new issue