Rev 1 | Rev 43 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1 | Rev 41 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | // + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
52 | // + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
53 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
53 | // + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
54 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
54 | // + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
55 | // + POSSIBILITY OF SUCH DAMAGE. |
55 | // + POSSIBILITY OF SUCH DAMAGE. |
56 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
56 | // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
- | 57 | #include <stdio.h> |
|
- | 58 | #include <stdlib.h> |
|
- | 59 | #include <string.h> |
|
- | 60 | #include "91x_lib.h" |
|
57 | #include "main.h" |
61 | #include "fat16.h" |
- | 62 | #include "settings.h" |
|
- | 63 | #include "uart1.h" |
|
Line 58... | Line 64... | ||
58 | 64 | ||
59 | struct str_setting_parameter CFG_Parameter[] = |
65 | struct str_setting_parameter CFG_Parameter[] = |
60 | { |
66 | { |
61 | //{"1234567890123456" , "12345678901234567890123456789012", Group, Value, Default , Min, Max }, |
67 | //{"1234567890123456" , "12345678901234567890123456789012", Group, Value, Default , Min, Max }, |
Line 103... | Line 109... | ||
103 | } |
109 | } |
104 | } |
110 | } |
105 | } |
111 | } |
Line 106... | Line 112... | ||
106 | 112 | ||
107 | //---------------------------------------------------------------------------------- |
113 | //---------------------------------------------------------------------------------- |
108 | void ReadSetting(unsigned char number) |
114 | void ReadSetting(u8 number) |
109 | { |
115 | { |
110 | File *fp; |
116 | File_t *fp; |
111 | char text[32]; |
117 | u8 text[32]; |
112 | u8 tmp; |
118 | u8 tmp; |
Line 113... | Line 119... | ||
113 | char *token; |
119 | u8 *token; |
Line 114... | Line 120... | ||
114 | 120 | ||
115 | InitDefaultParameters(); |
121 | InitDefaultParameters(); |