AntennaTracker: minor comment and format fix

This commit is contained in:
Randy Mackay 2014-09-29 20:10:35 +09:00
parent 72053a8a74
commit 7a06ed8a8a
1 changed files with 2 additions and 2 deletions

View File

@ -257,7 +257,7 @@ void setup()
// load the default values of variables listed in var_info[] // load the default values of variables listed in var_info[]
AP_Param::setup_sketch_defaults(); AP_Param::setup_sketch_defaults();
// arduplane does not use arming nor pre-arm checks // antenna tracker does not use pre-arm checks or battery failsafe
AP_Notify::flags.pre_arm_check = true; AP_Notify::flags.pre_arm_check = true;
AP_Notify::flags.failsafe_battery = false; AP_Notify::flags.failsafe_battery = false;
@ -301,7 +301,7 @@ static void one_second_loop()
static uint8_t counter; static uint8_t counter;
counter++; counter++;
if (counter >= 60) { if (counter >= 60) {
if(g.compass_enabled) { if(g.compass_enabled) {
compass.save_offsets(); compass.save_offsets();
} }