AP_Airspeed: change for new PX4 paths

This commit is contained in:
Andrew Tridgell 2015-02-13 19:19:33 +11:00
parent 001643d5a3
commit 26a77dc502
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}