introduce multi device support on uORB

This commit is contained in:
Lorenz Meier
2014-06-10 15:03:58 +02:00
parent c4280a7cd8
commit 578680135e
5 changed files with 16 additions and 8 deletions
+2 -1
View File
@@ -81,7 +81,8 @@ struct accel_scale {
/*
* ObjDev tag for raw accelerometer data.
*/
ORB_DECLARE(sensor_accel);
ORB_DECLARE(sensor_accel0);
ORB_DECLARE(sensor_accel1);
/*
* ioctl() definitions
+2 -1
View File
@@ -63,7 +63,8 @@ struct baro_report {
/*
* ObjDev tag for raw barometer data.
*/
ORB_DECLARE(sensor_baro);
ORB_DECLARE(sensor_baro0);
ORB_DECLARE(sensor_baro1);
/*
* ioctl() definitions
+2 -1
View File
@@ -81,7 +81,8 @@ struct gyro_scale {
/*
* ObjDev tag for raw gyro data.
*/
ORB_DECLARE(sensor_gyro);
ORB_DECLARE(sensor_gyro0);
ORB_DECLARE(sensor_gyro1);
/*
* ioctl() definitions
+2 -1
View File
@@ -79,7 +79,8 @@ struct mag_scale {
/*
* ObjDev tag for raw magnetometer data.
*/
ORB_DECLARE(sensor_mag);
ORB_DECLARE(sensor_mag0);
ORB_DECLARE(sensor_mag1);
/*
* ioctl() definitions