Update DPS310 driver to support SPL07-003
[inav.git] / src / main / target / AOCODARCF722AIO / config.c
blob8996c3c5d30bb5523fd90d26ea96710eb0b9d949
1 /*
2 * @Author: g05047
3 * @Date: 2023-03-22 17:15:53
4 * @LastEditors: g05047
5 * @LastEditTime: 2023-03-23 16:21:45
6 * @Description: file content
7 */
8 /*
9 * This file is part of INAV.
11 * INAV is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
16 * INAV is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with INAV. If not, see <http://www.gnu.org/licenses/>.
25 #include <stdint.h>
26 #include "platform.h"
28 #include "fc/fc_msp_box.h"
29 #include "io/piniobox.h"
30 #include "sensors/boardalignment.h"
31 #include "sensors/barometer.h"
32 #include "sensors/compass.h"
33 #include "sensors/acceleration.h"
35 void targetConfiguration(void)
38 compassConfigMutable()->mag_align = CW90_DEG;
40 // barometerConfigMutable()->baro_hardware = BARO_DPS310;
42 boardAlignmentMutable()->rollDeciDegrees = -450;