Subversion Repositories NaviCtrl

Rev

Rev 304 | 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
156 killagreg 10
 
295 killagreg 11
#define NCPARAM_STATE_UNDEFINED         0
12
#define NCRARAM_STATE_VALID                     1
13
 
156 killagreg 14
extern void NCParams_Init();
298 holgerb 15
extern u8 NCParams_SetValue(u8 id, s16 *pvalue);
16
extern u8 NCParams_GetValue(u8 id, s16 *pvalue);
17
extern void NCParams_ClearValue(u8 id);
156 killagreg 18
 
19
#endif // _PARAMS_H