Deafaut dead_zone call

Sets the correct default values for the RC_Channel group for Quads.
This commit is contained in:
Jason Short 2011-10-27 11:35:02 -07:00
parent 3b3f6bd168
commit 171f43def0
1 changed files with 5 additions and 0 deletions

View File

@ -126,6 +126,9 @@ static void init_ardupilot()
// save the new 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"));
while (true) {
delay(1000);
@ -142,6 +145,8 @@ static void init_ardupilot()
}
}else{
// save default radio values
//default_dead_zones();
// Load all auto-loaded EEPROM variables
AP_Var::load_all();