mirror of https://github.com/ArduPilot/ardupilot
Deafaut dead_zone call
Sets the correct default values for the RC_Channel group for Quads.
This commit is contained in:
parent
3b3f6bd168
commit
171f43def0
|
@ -126,6 +126,9 @@ static void init_ardupilot()
|
||||||
// save the new format version
|
// save the new format version
|
||||||
g.format_version.set_and_save(Parameters::k_format_version);
|
g.format_version.set_and_save(Parameters::k_format_version);
|
||||||
|
|
||||||
|
// save default radio values
|
||||||
|
default_dead_zones();
|
||||||
|
|
||||||
Serial.printf_P(PSTR("Please Run Setup...\n"));
|
Serial.printf_P(PSTR("Please Run Setup...\n"));
|
||||||
while (true) {
|
while (true) {
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
@ -142,6 +145,8 @@ static void init_ardupilot()
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
|
// save default radio values
|
||||||
|
//default_dead_zones();
|
||||||
|
|
||||||
// Load all auto-loaded EEPROM variables
|
// Load all auto-loaded EEPROM variables
|
||||||
AP_Var::load_all();
|
AP_Var::load_all();
|
||||||
|
|
Loading…
Reference in New Issue