Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 88 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _SETTINGS_H |
1 | #ifndef _SETTINGS_H |
2 | #define _SETTINGS_H |
2 | #define _SETTINGS_H |
Line 3... | Line -... | ||
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; |
- | |
11 | } __attribute__((packed)); |
- | |
12 | - | ||
Line -... | Line 4... | ||
- | 4 | #include "91x_lib.h" |
|
- | 5 | ||
- | 6 | typedef enum |
|
- | 7 | { |
|
- | 8 | PID_KML_LOGGING, |
|
- | 9 | PID_GPX_LOGGING |
|
- | 10 | } ParamId_t; |
|
13 | extern struct str_setting_parameter CFG_Parameter[]; |
11 | |
- | 12 | void Settings_Init(void); |
|
Line 14... | Line 13... | ||
14 | 13 | void Settings_SetDefaultValues(void); |