fix FY90Q build (acc_t/gyro_t changes)
This commit is contained in:
parent
a3d2a3df2d
commit
3805af7821
|
@ -6,6 +6,7 @@
|
|||
#include "platform.h"
|
||||
|
||||
#include "sensors_common.h" // FIXME dependency into the main code
|
||||
|
||||
#include "accgyro_common.h"
|
||||
|
||||
#include "system_common.h"
|
||||
|
@ -16,7 +17,7 @@ static void adcAccRead(int16_t *accelData);
|
|||
static void adcGyroRead(int16_t *gyroData);
|
||||
static void adcDummyInit(sensor_align_e align);
|
||||
|
||||
void adcSensorInit(sensor_t *acc, sensor_t *gyro)
|
||||
void adcSensorInit(acc_t *acc, gyro_t *gyro)
|
||||
{
|
||||
acc->init = adcDummyInit;
|
||||
acc->read = adcAccRead;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void adcSensorInit(sensor_t *acc, sensor_t *gyro);
|
||||
void adcSensorInit(acc_t *acc, gyro_t *gyro);
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
#include "platform.h"
|
||||
|
||||
#include "sensors_common.h" // FIXME dependency into the main code
|
||||
#include "accgyro_common.h"
|
||||
#include "sensors_common.h"
|
||||
|
||||
#include "system_common.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue