posix rcS: set MAV_PROTO_VER to 2

For SITL it's important that the GCS receives the first events messages
that reset the sequence number, in case the user does not press 'Disconnect'
when restarting SITL.
This commit is contained in:
Beat Küng authored and Daniel Agar committed 2022-08-25 22:02:15 -04:00
1 parent c7b64e3c01
commit 552d08176f
1 file changed
+1
+1
View File
@@ -148,6 +148,7 @@ param set-default EKF2_MULTI_MAG 2
param set-default SENS_MAG_MODE 0
param set-default IMU_GYRO_FFT_EN 1
param set-default MAV_PROTO_VER 2 # Ensures QGC does not drop the first few packets after a SITL restart due to MAVLINK 1 packets
param set-default -s MC_AT_EN 1