Rev 1 | Rev 247 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 88 | ||
---|---|---|---|
1 | #ifndef _SETTINGS_H |
1 | #ifndef _SETTINGS_H |
2 | #define _SETTINGS_H |
2 | #define _SETTINGS_H |
3 | - | ||
4 | struct str_setting_parameter |
- | |
5 | { |
- | |
6 | char Name[16]; |
- | |
7 | char Comment[32]; |
- | |
8 | unsigned char Group; // 0 = reserved 1,2,3,4 |
- | |
9 | unsigned char Value, Default; |
3 | |
10 | unsigned char Min, Max; |
- | |
- | 4 | #include "91x_lib.h" |
|
- | 5 | ||
- | 6 | typedef enum |
|
- | 7 | { |
|
11 | } __attribute__((packed)); |
8 | PID_KML_LOGGING, |
- | 9 | PID_GPX_LOGGING |
|
12 | 10 | } ParamId_t; |
|
- | 11 | ||
13 | extern struct str_setting_parameter CFG_Parameter[]; |
12 | void Settings_Init(void); |
14 | 13 | void Settings_SetDefaultValues(void); |
|
15 | void ReadSetting(unsigned char number); |
14 | u8 Settings_GetParamValue(ParamId_t Pid, u16* pValue); |
16 | 15 | ||
17 | #endif |
16 | #endif // _SETTINGS_H |
18 | 17 | ||
19 | 18 | ||
20 | 19 |