Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | ingob | 1 | #ifndef _SETTINGS_H |
88 | killagreg | 2 | #define _SETTINGS_H |
1 | ingob | 3 | |
88 | killagreg | 4 | #include "91x_lib.h" |
5 | |||
6 | typedef enum |
||
1 | ingob | 7 | { |
88 | killagreg | 8 | PID_KML_LOGGING, |
247 | killagreg | 9 | PID_GPX_LOGGING, |
351 | holgerb | 10 | PID_GPS_AUTOCONFIG, |
11 | PID_ABSOLUTE_FLYING_RANGE, |
||
355 | holgerb | 12 | PID_ABSOLUTE_FLYING_ALT, |
356 | holgerb | 13 | PID_GPS_SBAS_CONFIG, |
361 | holgerb | 14 | PID_AUTO_DESCEND_RANGE, |
426 | holgerb | 15 | PID_MIN_EVENT_TIME, |
460 | holgerb | 16 | PID_WP_WAIT_FOR_LED, |
17 | PID_WP_ACCELERATE, |
||
484 | holgerb | 18 | PID_SEND_NMEA, |
511 | holgerb | 19 | PID_CH_SPEED, |
514 | holgerb | 20 | PID_POSITION_ACCURACY, |
577 | holgerb | 21 | PID_DPH_SPEED, |
581 | holgerb | 22 | PID_WP_REACHED_TIMEOUT, |
622 | holgerb | 23 | PID_LOG_AT_MOTORRUN, |
624 | holgerb | 24 | PID_SPEAK100M, |
673 | holgerb | 25 | PID_AUTO_WP_EVENT_VALUE, |
26 | PID_GPS_SYSTEM_CFG, |
||
758 | holgerb | 27 | PID_GPS_QZSS_CONFIG, |
28 | PID_IO1_FUNCTION |
||
88 | killagreg | 29 | } ParamId_t; |
1 | ingob | 30 | |
88 | killagreg | 31 | void Settings_Init(void); |
32 | void Settings_SetDefaultValues(void); |
||
33 | u8 Settings_GetParamValue(ParamId_t Pid, u16* pValue); |
||
426 | holgerb | 34 | extern u16 WaypointAccelerationSetting; // acceleration for flying waypoints in percent (0-100) or Poti -> 255 = Poti1, 254 = Poti2... |
489 | killagreg | 35 | extern u16 WaypointAcceleration; // the real value |
88 | killagreg | 36 | #endif // _SETTINGS_H |
1 | ingob | 37 | |
38 |