Sub: default RNGFNDR1_TYPE to mavlink

This commit is contained in:
Willian Galvani 2019-09-12 14:49:22 -03:00 committed by Andrew Tridgell
parent 678a966d4c
commit c4182fc66b
1 changed files with 1 additions and 0 deletions

View File

@ -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()