Rev 276 | Rev 295 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 276 | Rev 294 | ||
---|---|---|---|
1 | #ifndef _PARAMS_H |
1 | #ifndef _PARAMS_H |
2 | #define _PARAMS_H |
2 | #define _PARAMS_H |
3 | 3 | ||
4 | // ids 0...255 |
4 | // ids 0...255 |
5 | #define NCPARAMS_GPS_TARGETSPEED 0 |
5 | #define NCPARAMS_GPS_TARGETSPEED 0 |
6 | #define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1 |
6 | #define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1 |
- | 7 | #define NCPARAMS_NEW_CAMERA_ELEVATION 2 |
|
- | 8 | #define NCPARAMS_ALTITUDE_RATE 3 |
|
- | 9 | #define NCPARAMS_ALTITUDE_SETPOINT 4 |
|
7 | 10 | ||
8 | extern void NCParams_Init(); |
11 | extern void NCParams_Init(); |
9 | extern u8 NCParams_SetValue(u8 id, s16* pvalue); |
12 | extern u8 NCParams_SetValue(u8 id, s16* pvalue); |
10 | extern u8 NCParams_GetValue(u8 id, s16* pvalue); |
13 | extern u8 NCParams_GetValue(u8 id, s16* pvalue); |
- | 14 | extern s16 NCParams[255]; |
|
11 | 15 | ||
12 | #endif // _PARAMS_H |
16 | #endif // _PARAMS_H |
13 | 17 |