style clean
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user