diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-03 13:50:29 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-02-09 22:56:24 +0100 |
commit | a27395a15d110e2fe1272ad49ca8589278977701 (patch) | |
tree | 349fa84f1fb3fd7ba5566c851430e1763115d188 | |
parent | 1eb4ec6ec9cba16337c5157a9395b9b51efff50f (diff) | |
download | px4-firmware-a27395a15d110e2fe1272ad49ca8589278977701.tar.gz px4-firmware-a27395a15d110e2fe1272ad49ca8589278977701.tar.bz2 px4-firmware-a27395a15d110e2fe1272ad49ca8589278977701.zip |
MS5611: Move to 0 based indices
-rw-r--r-- | src/drivers/ms5611/ms5611.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ms5611/ms5611.cpp b/src/drivers/ms5611/ms5611.cpp index 31dbdbcd3..ef94d0363 100644 --- a/src/drivers/ms5611/ms5611.cpp +++ b/src/drivers/ms5611/ms5611.cpp @@ -278,7 +278,7 @@ MS5611::init() } /* register alternate interfaces if we have to */ - _class_instance = register_class_devname(BARO_DEVICE_PATH); + _class_instance = register_class_devname(BARO_BASE_DEVICE_PATH); struct baro_report brp; /* do a first measurement cycle to populate reports with valid data */ |