chg: renaming a struct

This commit is contained in:
iceman1001 2019-07-27 21:15:43 +02:00
commit 283060f962
7 changed files with 55 additions and 55 deletions

View file

@ -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];

View file

@ -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