[Companion] Old EEPROM support removed

This commit is contained in:
Bertrand Songis
2016-11-23 16:40:47 +01:00
parent 9590b5f00e
commit 5f9737fc70
73 changed files with 1309 additions and 9277 deletions
@@ -29,10 +29,10 @@ template<class t> t LIMIT(t mi, t x, t ma) { return std::min(std::max(mi, x), ma
struct TxInputs
{
int sticks[NUM_STICKS]; /* lh lv rv rh */
int pots[C9X_NUM_POTS];
int switches[C9X_NUM_SWITCHES];
bool keys[C9X_NUM_KEYS];
int sticks[CPN_MAX_STICKS]; /* lh lv rv rh */
int pots[CPN_MAX_POTS];
int switches[CPN_MAX_SWITCHES];
bool keys[CPN_MAX_KEYS];
bool rotenc;
bool trims[12];
};
@@ -41,16 +41,16 @@ class TxOutputs
{
public:
TxOutputs() { memset(this, 0, sizeof(TxOutputs)); }
int chans[C9X_NUM_CHNOUT];
bool vsw[C9X_NUM_CSW];
int gvars[C9X_MAX_FLIGHT_MODES][C9X_MAX_GVARS];
int chans[CPN_MAX_CHNOUT];
bool vsw[CPN_MAX_CSW];
int gvars[CPN_MAX_FLIGHT_MODES][CPN_MAX_GVARS];
unsigned int beep;
// uint8_t phase;
};
struct Trims
{
int values[NUM_STICKS]; /* lh lv rv rh */
int values[CPN_MAX_STICKS]; /* lh lv rv rh */
bool extended;
};