Rev 361 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 361 | Rev 426 | ||
---|---|---|---|
1 | #ifndef _SETTINGS_H |
1 | #ifndef _SETTINGS_H |
2 | #define _SETTINGS_H |
2 | #define _SETTINGS_H |
3 | 3 | ||
4 | #include "91x_lib.h" |
4 | #include "91x_lib.h" |
5 | 5 | ||
6 | typedef enum |
6 | typedef enum |
7 | { |
7 | { |
8 | PID_KML_LOGGING, |
8 | PID_KML_LOGGING, |
9 | PID_GPX_LOGGING, |
9 | PID_GPX_LOGGING, |
10 | PID_GPS_AUTOCONFIG, |
10 | PID_GPS_AUTOCONFIG, |
11 | PID_ABSOLUTE_FLYING_RANGE, |
11 | PID_ABSOLUTE_FLYING_RANGE, |
12 | PID_ABSOLUTE_FLYING_ALT, |
12 | PID_ABSOLUTE_FLYING_ALT, |
13 | PID_GPS_SBAS_CONFIG, |
13 | PID_GPS_SBAS_CONFIG, |
14 | PID_AUTO_DESCEND_RANGE, |
14 | PID_AUTO_DESCEND_RANGE, |
15 | PID_MIN_EVENT_TIME |
15 | PID_MIN_EVENT_TIME, |
- | 16 | PID_WP_ACCELERATE |
|
16 | } ParamId_t; |
17 | } ParamId_t; |
17 | 18 | ||
18 | void Settings_Init(void); |
19 | void Settings_Init(void); |
19 | void Settings_SetDefaultValues(void); |
20 | void Settings_SetDefaultValues(void); |
20 | u8 Settings_GetParamValue(ParamId_t Pid, u16* pValue); |
21 | u8 Settings_GetParamValue(ParamId_t Pid, u16* pValue); |
21 | - | ||
- | 22 | extern u16 WaypointAccelerationSetting; // acceleration for flying waypoints in percent (0-100) or Poti -> 255 = Poti1, 254 = Poti2... |
|
- | 23 | extern u16 WaypointAcceleration; // the real value |
|
22 | #endif // _SETTINGS_H |
24 | #endif // _SETTINGS_H |
23 | 25 | ||
24 | 26 | ||
25 | 27 |