Skip to content
Snippets Groups Projects
Commit 64aab8a6 authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

rcS: do not reset COM_FLTMODE* on airframe change

An airframe change keeps all RC params except the flight modes. This fixes
that.
parent 1a0c312f
No related branches found
No related tags found
No related merge requests found
......@@ -150,8 +150,8 @@ then
#
if param compare SYS_AUTOCONFIG 1
then
# Wipe out params except RC* and total flight time
param reset_nostart RC* LND_FLIGHT_T_*
# Wipe out params except RC*, flight modes and total flight time
param reset_nostart RC* COM_FLTMODE* LND_FLIGHT_T_*
set AUTOCNF yes
else
set AUTOCNF no
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment