Rev 294 | Rev 298 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 294 | Rev 295 | ||
---|---|---|---|
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 |
7 | #define NCPARAMS_NEW_CAMERA_ELEVATION 2 |
8 | #define NCPARAMS_ALTITUDE_RATE 3 |
8 | #define NCPARAMS_ALTITUDE_RATE 3 |
9 | #define NCPARAMS_ALTITUDE_SETPOINT 4 |
9 | #define NCPARAMS_ALTITUDE_SETPOINT 4 |
- | 10 | ||
- | 11 | #define NCPARAM_STATE_UNDEFINED 0 |
|
- | 12 | #define NCRARAM_STATE_VALID 1 |
|
10 | 13 | ||
11 | extern void NCParams_Init(); |
14 | extern void NCParams_Init(); |
12 | extern u8 NCParams_SetValue(u8 id, s16* pvalue); |
15 | extern u8 NCParams_SetValue(u8 id, s16* pvalue); |
13 | extern u8 NCParams_GetValue(u8 id, s16* pvalue); |
16 | extern u8 NCParams_GetValue(u8 id, s16* pvalue); |
14 | extern s16 NCParams[255]; |
- | |
15 | 17 | ||
16 | #endif // _PARAMS_H |
18 | #endif // _PARAMS_H |
17 | 19 |