diff --git a/libraries/AP_Airspeed/AP_Airspeed_PX4.cpp b/libraries/AP_Airspeed/AP_Airspeed_PX4.cpp index 1442caf24d..05dd07d5bf 100644 --- a/libraries/AP_Airspeed/AP_Airspeed_PX4.cpp +++ b/libraries/AP_Airspeed/AP_Airspeed_PX4.cpp @@ -34,7 +34,7 @@ extern const AP_HAL::HAL& hal; bool AP_Airspeed_PX4::init() { - _fd = open(AIRSPEED_DEVICE_PATH, O_RDONLY); + _fd = open(AIRSPEED0_DEVICE_PATH, O_RDONLY); if (_fd == -1) { return false; }