forked from Archive/PX4-Autopilot
delete drv_gyro.h GYROx_DEVICE_PATH
This commit is contained in:
parent
aaf1667b09
commit
42f9aa6e43
|
@ -47,9 +47,6 @@
|
|||
#include "drv_orb_dev.h"
|
||||
|
||||
#define GYRO_BASE_DEVICE_PATH "/dev/gyro"
|
||||
#define GYRO0_DEVICE_PATH "/dev/gyro0"
|
||||
#define GYRO1_DEVICE_PATH "/dev/gyro1"
|
||||
#define GYRO2_DEVICE_PATH "/dev/gyro2"
|
||||
|
||||
#include <uORB/topics/sensor_gyro.h>
|
||||
#define gyro_report sensor_gyro_s
|
||||
|
|
|
@ -76,8 +76,8 @@ struct {
|
|||
} sensors[] = {
|
||||
{"accel0", "/dev/accel0", accel},
|
||||
{"accel1", "/dev/accel1", accel},
|
||||
{"gyro0", GYRO0_DEVICE_PATH, gyro},
|
||||
{"gyro1", GYRO1_DEVICE_PATH, gyro},
|
||||
{"gyro0", "/dev/gyro0", gyro},
|
||||
{"gyro1", "/dev/gyro1", gyro},
|
||||
{"mag0", MAG0_DEVICE_PATH, mag},
|
||||
{"baro0", BARO0_DEVICE_PATH, baro},
|
||||
{NULL, NULL, NULL}
|
||||
|
|
Loading…
Reference in New Issue