Sub: default RNGFNDR1_TYPE to mavlink

This commit is contained in:
Willian Galvani 2019-09-12 14:49:22 -03:00 committed by Jacob Walser
parent 8736a13a87
commit f86a712a14

View File

@ -703,6 +703,7 @@ void Sub::load_parameters()
AP_Param::set_default_by_name("MNT_JSTICK_SPD", 100); 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_PAN", 7);
AP_Param::set_by_name("MNT_RC_IN_TILT", 8); 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() void Sub::convert_old_parameters()