mirror of https://github.com/rusefi/wideband.git
add config
This commit is contained in:
parent
5824028b54
commit
a2a019dbac
|
@ -33,10 +33,18 @@ public:
|
||||||
void LoadDefaults();
|
void LoadDefaults();
|
||||||
|
|
||||||
// Actual configuration data
|
// Actual configuration data
|
||||||
uint8_t CanIndexOffset = 0;
|
union {
|
||||||
|
struct {
|
||||||
|
uint8_t CanIndexOffset = 0;
|
||||||
|
// AUX0 and AUX1 curves
|
||||||
|
float auxOutBins[2][8];
|
||||||
|
float auxOutValues[2][8];
|
||||||
|
uint8_t auxInput[2];
|
||||||
|
} __attribute__((packed));
|
||||||
|
|
||||||
// pad to 128 bytes
|
// pad to 256 bytes including tag
|
||||||
uint8_t pad[128 - 1 - 4];
|
uint8_t pad[256 - 4];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
int InitConfiguration();
|
int InitConfiguration();
|
||||||
|
|
Loading…
Reference in New Issue