delete drv_gyro.h GYROx_DEVICE_PATH

This commit is contained in:
Daniel Agar 2018-11-03 15:11:59 -04:00 committed by Lorenz Meier
parent aaf1667b09
commit 42f9aa6e43
2 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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}