Start the laser on a port not offending the 2nd MAVLink instance

This commit is contained in:
Lorenz Meier
2014-08-27 09:47:31 +02:00
parent 863b6d2d94
commit 368afa1c1d
+3 -1
View File
@@ -88,7 +88,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
{