From f86a712a14a6943981c4f60bc35b1ef2b14e65c5 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Thu, 12 Sep 2019 14:49:22 -0300 Subject: [PATCH] Sub: default RNGFNDR1_TYPE to mavlink --- ArduSub/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index 1f8dfa9386..d517928808 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -703,6 +703,7 @@ void Sub::load_parameters() AP_Param::set_default_by_name("MNT_JSTICK_SPD", 100); AP_Param::set_by_name("MNT_RC_IN_PAN", 7); AP_Param::set_by_name("MNT_RC_IN_TILT", 8); + AP_Param::set_default_by_name("RNGFND1_TYPE", RangeFinder::RangeFinder_TYPE_MAVLink); } void Sub::convert_old_parameters()