mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 03:53:33 +08:00
rcS: do not wipe flight time param on autoconf
This commit is contained in:
@@ -145,8 +145,8 @@ then
|
|||||||
#
|
#
|
||||||
if param compare SYS_AUTOCONFIG 1
|
if param compare SYS_AUTOCONFIG 1
|
||||||
then
|
then
|
||||||
# Wipe out params except RC*
|
# Wipe out params except RC* and total flight time
|
||||||
param reset_nostart RC*
|
param reset_nostart RC* LND_FLIGHT_T_*
|
||||||
set AUTOCNF yes
|
set AUTOCNF yes
|
||||||
else
|
else
|
||||||
set AUTOCNF no
|
set AUTOCNF no
|
||||||
|
|||||||
Reference in New Issue
Block a user