mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 23:53:34 +08:00
Driver headers: Move to 0-based indices
This commit is contained in:
@@ -46,7 +46,10 @@
|
||||
#include "drv_sensor.h"
|
||||
#include "drv_orb_dev.h"
|
||||
|
||||
#define ACCEL_DEVICE_PATH "/dev/accel"
|
||||
#define ACCEL_BASE_DEVICE_PATH "/dev/accel"
|
||||
#define ACCEL0_DEVICE_PATH "/dev/accel0"
|
||||
#define ACCEL1_DEVICE_PATH "/dev/accel1"
|
||||
#define ACCEL2_DEVICE_PATH "/dev/accel2"
|
||||
|
||||
/**
|
||||
* accel report structure. Reads from the device must be in multiples of this
|
||||
|
||||
Reference in New Issue
Block a user