Backup before 10bits trims function merge (instead of 8bits + subtrims)

This commit is contained in:
bsongis
2011-09-14 12:54:57 +00:00
parent f0fca34b7e
commit af73d05bbd
21 changed files with 560 additions and 122 deletions
+11 -6
View File
@@ -1,7 +1,12 @@
/*
* Author - Erez Raviv <erezraviv@gmail.com>
* Authors (alphabetical order)
* - Bertrand Songis <bsongis@gmail.com>
* - Bryan J. Rentoul (Gruvin) <gruvin@gmail.com>
*
* Based on th9x -> http://code.google.com/p/th9x/
* gruvin9x is based on code named er9x by
* Author - Erez Raviv <erezraviv@gmail.com>, which is in turn
* was based on the original (and ongoing) project by Thomas Husterer,
* th9x -- http://code.google.com/p/th9x/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -13,6 +18,7 @@
* GNU General Public License for more details.
*
*/
#ifndef eeprom_h
#define eeprom_h
@@ -35,7 +41,7 @@
#define EEPROM_VER_r584 3
#define EEPROM_VER_r751 5
#define EEPROM_VER 105
#define EEPROM_VER 105 // TODO make it 201
typedef struct t_TrainerMix {
uint8_t srcChn:6; // 0-7 = ch1-8
@@ -148,9 +154,8 @@ typedef struct t_SafetySwData { // Safety Switches data
#define FUNC_TRAINER 1
#define FUNC_INSTANT_TRIM 2
#define FUNC_TRIMS_2_OFS 3
#define FUNC_VIEW_TELEMETRY 4
#define FUNC_LAST 4
#define FUNC_VIEW_TELEMETRY 3
#define FUNC_LAST 3
typedef struct t_FuncSwData { // Function Switches data
int8_t swtch; //input