mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 13:23:33 +08:00
Driver headers: Move to 0-based indices
This commit is contained in:
@@ -44,8 +44,10 @@
|
||||
#include "drv_sensor.h"
|
||||
#include "drv_orb_dev.h"
|
||||
|
||||
|
||||
#define MAG_DEVICE_PATH "/dev/mag"
|
||||
#define MAG_BASE_DEVICE_PATH "/dev/mag"
|
||||
#define MAG0_DEVICE_PATH "/dev/mag0"
|
||||
#define MAG1_DEVICE_PATH "/dev/mag0"
|
||||
#define MAG2_DEVICE_PATH "/dev/mag0"
|
||||
|
||||
/**
|
||||
* mag report structure. Reads from the device must be in multiples of this
|
||||
|
||||
Reference in New Issue
Block a user