Rev 494 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 494 | Rev 588 | ||
---|---|---|---|
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 | #define NCPARAMS_SHOW_TARGET 5 |
10 | #define NCPARAMS_SHOW_TARGET 5 |
11 | #define NCPARAMS_WP_EVENT_ONCE 6 |
11 | #define NCPARAMS_WP_EVENT_ONCE 6 |
12 | #define NCPARAMS_WP_EVENT_FOREVER 7 |
12 | #define NCPARAMS_WP_EVENT_FOREVER 7 |
- | 13 | #define NCPARAMS_FORCE_NEW_COMPASS_DIRECTION 8 |
|
13 | 14 | ||
14 | #define NCPARAM_STATE_UNDEFINED 0 |
15 | #define NCPARAM_STATE_UNDEFINED 0 |
15 | #define NCRARAM_STATE_VALID 1 |
16 | #define NCRARAM_STATE_VALID 1 |
16 | 17 | ||
17 | extern void NCParams_Init(); |
18 | extern void NCParams_Init(); |
18 | extern u8 NCParams_SetValue(u8 id, s16 *pvalue); |
19 | extern u8 NCParams_SetValue(u8 id, s16 *pvalue); |
19 | extern u8 NCParams_GetValue(u8 id, s16 *pvalue); |
20 | extern u8 NCParams_GetValue(u8 id, s16 *pvalue); |
20 | extern void NCParams_ClearValue(u8 id); |
21 | extern void NCParams_ClearValue(u8 id); |
21 | 22 | ||
22 | #endif // _PARAMS_H |
23 | #endif // _PARAMS_H |
23 | 24 |