Rev 588 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
156 | killagreg | 1 | #ifndef _PARAMS_H |
2 | #define _PARAMS_H |
||
3 | |||
4 | // ids 0...255 |
||
276 | holgerb | 5 | #define NCPARAMS_GPS_TARGETSPEED 0 |
6 | #define NCPARAMS_NEW_COMPASS_DIRECTION_SETPOINT 1 |
||
294 | holgerb | 7 | #define NCPARAMS_NEW_CAMERA_ELEVATION 2 |
295 | killagreg | 8 | #define NCPARAMS_ALTITUDE_RATE 3 |
294 | holgerb | 9 | #define NCPARAMS_ALTITUDE_SETPOINT 4 |
456 | holgerb | 10 | #define NCPARAMS_SHOW_TARGET 5 |
457 | holgerb | 11 | #define NCPARAMS_WP_EVENT_ONCE 6 |
12 | #define NCPARAMS_WP_EVENT_FOREVER 7 |
||
588 | holgerb | 13 | #define NCPARAMS_FORCE_NEW_COMPASS_DIRECTION 8 |
156 | killagreg | 14 | |
295 | killagreg | 15 | #define NCPARAM_STATE_UNDEFINED 0 |
16 | #define NCRARAM_STATE_VALID 1 |
||
17 | |||
156 | killagreg | 18 | extern void NCParams_Init(); |
298 | holgerb | 19 | extern u8 NCParams_SetValue(u8 id, s16 *pvalue); |
20 | extern u8 NCParams_GetValue(u8 id, s16 *pvalue); |
||
21 | extern void NCParams_ClearValue(u8 id); |
||
156 | killagreg | 22 | |
23 | #endif // _PARAMS_H |