Update sensor test

This commit is contained in:
Lorenz Meier
2015-02-09 22:56:24 +01:00
parent e82b70b749
commit 4ca3c44b60
+6 -6
View File
@@ -76,12 +76,12 @@ struct {
const char *path; const char *path;
int (* test)(int argc, char *argv[], const char* path); int (* test)(int argc, char *argv[], const char* path);
} sensors[] = { } sensors[] = {
{"accel0", ACCEL_DEVICE_PATH, accel}, {"accel0", ACCEL0_DEVICE_PATH, accel},
{"accel1", "/dev/accel1", accel}, {"accel1", ACCEL1_DEVICE_PATH, accel},
{"gyro0", GYRO_DEVICE_PATH, gyro}, {"gyro0", GYRO0_DEVICE_PATH, gyro},
{"gyro1", "/dev/gyro1", gyro}, {"gyro1", GYRO1_DEVICE_PATH, gyro},
{"mag0", MAG_DEVICE_PATH, mag}, {"mag0", MAG0_DEVICE_PATH, mag},
{"baro0", BARO_DEVICE_PATH, baro}, {"baro0", BARO0_DEVICE_PATH, baro},
{NULL, NULL, NULL} {NULL, NULL, NULL}
}; };