MS5611: Move to 0 based indices

This commit is contained in:
Lorenz Meier 2015-02-03 13:50:29 +01:00
parent 1eb4ec6ec9
commit a27395a15d
1 changed files with 1 additions and 1 deletions

View File

@ -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 */