From 26a77dc5021a3c2e8faf206a5f281bc35d0c6dc4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 13 Feb 2015 19:19:33 +1100 Subject: [PATCH] AP_Airspeed: change for new PX4 paths --- libraries/AP_Airspeed/AP_Airspeed_PX4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }