Subversion Repositories FlightCtrl

Rev

Rev 1964 | Rev 1968 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1964 Rev 1965
Line 5... Line 5...
5
#include "configuration.h"
5
#include "configuration.h"
6
#include "analog.h"
6
#include "analog.h"
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
#define EEPROM_ADR_PARAM_BEGIN  0
8
#define EEPROM_ADR_PARAM_BEGIN  0
9
 
9
 
10
#define PID_ACTIVE_SET       2 // byte
-
 
11
//#define PID_PRESSURE_OFFSET  3 // byte
-
 
12
//#define PID_ACC_PITCH        4 // word
-
 
13
//#define PID_ACC_ROLL         6 // word
-
 
14
//#define PID_ACC_Z            8 // word
10
#define PID_ACTIVE_SET          0   // byte
15
 
11
#define EEPROM_ADR_ACCOFFSET    1
16
#define EEPROM_ADR_ACCOFFSET    20
12
#define EEPROM_ADR_GYROOFFSET   (EEPROM_ADR_ACCOFFSET+sizeof(sensorOffset_t)+2)
17
#define EEPROM_ADR_GYROOFFSET   40
-
 
18
#define EEPROM_ADR_CHANNELMAP   80
13
#define EEPROM_ADR_DACVALUES    (EEPROM_ADR_GYROOFFSET+sizeof(sensorOffset_t)+2)
19
 
-
 
20
#define EEPROM_ADR_PARAMSET_BEGIN       100
14
#define EEPROM_ADR_CHANNELMAP   (EEPROM_ADR_GYROOFFSET+sizeof(sensorOffset_t)+2)
Line 21... Line 15...
21
 
15
#define EEPROM_ADR_MIXER_TABLE  (EEPROM_ADR_CHANNELMAP+sizeof(channelMap_t)+2)
22
#define EEPROM_ADR_MIXER_TABLE          1000
16
#define EEPROM_ADR_PARAMSET_BEGIN (EEPROM_ADR_CHANNELMAP+sizeof(mixerMatrix_t)+2)
23
 
17
 
24
#define CHANNELMAP_REVISION     0
18
#define CHANNELMAP_REVISION     0
Line 25... Line 19...
25
#define EEPARAM_REVISION        0
19
#define EEPARAM_REVISION            0
26
#define EEMIXER_REVISION        0
20
#define EEMIXER_REVISION            0
27
#define SENSOROFFSET_REVISION   0
21
#define SENSOROFFSET_REVISION   0