chg: renaming a struct
This commit is contained in:
@@ -118,7 +118,7 @@ typedef struct {
|
||||
bool averaging;
|
||||
int divisor;
|
||||
int trigger_threshold;
|
||||
} sample_config;
|
||||
} PACKED sample_config;
|
||||
/*
|
||||
typedef struct {
|
||||
uint16_t start_gap;
|
||||
@@ -131,20 +131,20 @@ typedef struct {
|
||||
|
||||
// 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 ;
|
||||
uint16_t write_2 ;
|
||||
uint16_t write_3 ;
|
||||
|
||||
uint16_t start_gap;
|
||||
uint16_t write_gap;
|
||||
uint16_t write_0;
|
||||
uint16_t write_1;
|
||||
uint16_t read_gap;
|
||||
uint16_t write_2;
|
||||
uint16_t write_3;
|
||||
} t55xx_config_t;
|
||||
|
||||
// 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.
|
||||
typedef struct {
|
||||
t55xx_config_t m[4]; // mode
|
||||
} t55xx_config;
|
||||
} t55xx_configurations_t;
|
||||
|
||||
/*typedef struct {
|
||||
uint16_t start_gap [4];
|
||||
|
||||
@@ -61,7 +61,7 @@ extern uint32_t FLASHMEM_SPIBAUDRATE;
|
||||
#endif
|
||||
|
||||
#ifndef T55XX_CONFIG_LEN
|
||||
# define T55XX_CONFIG_LEN sizeof( t55xx_config )
|
||||
# define T55XX_CONFIG_LEN sizeof( t55xx_configurations_t )
|
||||
#endif
|
||||
|
||||
#ifndef T55XX_CONFIG_OFFSET
|
||||
|
||||
Reference in New Issue
Block a user