-
Notifications
You must be signed in to change notification settings - Fork 11
/
configfile_parser.h
41 lines (33 loc) · 1.27 KB
/
configfile_parser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
sensord - Sensor Interface for XCSoar Glide Computer - http://www.openvario.org/
Copyright (C) 2014 The openvario project
A detailed list of copyright holders can be found in the file "AUTHORS"
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 3
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "ms5611.h"
#include "ams5915.h"
#include "ads1110.h"
#include "ds2482.h"
#include <stdio.h>
typedef struct {
char output_POV_E;
char output_POV_P_Q;
char output_POV_V;
char output_POV_T;
char output_POV_H;
float vario_x_accel;
double timing_log;
double timing_mult;
double timing_off;
} t_config;
int cfgfile_parser(FILE *, t_ms5611 *, t_ms5611 *, t_ams5915 *, t_ads1110 *, t_ds2482 *, t_config *);