diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-28 21:09:58 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-12-28 21:09:58 +0100 |
commit | 6b2f3f9b07cdf01ad6b11c8bab9723bfbac97c92 (patch) | |
tree | 9503a0a82e1f7ca09dbfac9f4cc81f695e28637b /src/drivers/sf0x/sf0x.cpp | |
parent | 784888e1757661a267978c25a00d03c1a348db21 (diff) | |
parent | c29972424f6d7b99633c8497f0c25ab7cda4d2ca (diff) | |
download | px4-firmware-6b2f3f9b07cdf01ad6b11c8bab9723bfbac97c92.tar.gz px4-firmware-6b2f3f9b07cdf01ad6b11c8bab9723bfbac97c92.tar.bz2 px4-firmware-6b2f3f9b07cdf01ad6b11c8bab9723bfbac97c92.zip |
Merged master into nuttx_bringup / nuttx_noappconfig
Diffstat (limited to 'src/drivers/sf0x/sf0x.cpp')
-rw-r--r-- | src/drivers/sf0x/sf0x.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/sf0x/sf0x.cpp b/src/drivers/sf0x/sf0x.cpp index 4301750f0..8e62e0d4b 100644 --- a/src/drivers/sf0x/sf0x.cpp +++ b/src/drivers/sf0x/sf0x.cpp @@ -90,7 +90,9 @@ static const int ERROR = -1; #define SF0X_TAKE_RANGE_REG 'd' #define SF02F_MIN_DISTANCE 0.0f #define SF02F_MAX_DISTANCE 40.0f -#define SF0X_DEFAULT_PORT "/dev/ttyS2" + +// designated SERIAL4/5 on Pixhawk +#define SF0X_DEFAULT_PORT "/dev/ttyS6" class SF0X : public device::CDev { |