Browse Source

Copter: rename lost_copter to vehicle_lost

mission-4.1.18
Randy Mackay 10 years ago
parent
commit
ea5c24b70b
  1. 4
      ArduCopter/switches.pde

4
ArduCopter/switches.pde

@ -538,10 +538,10 @@ static void do_aux_switch_function(int8_t ch_function, uint8_t ch_flag) @@ -538,10 +538,10 @@ static void do_aux_switch_function(int8_t ch_function, uint8_t ch_flag)
case AUXSW_LOST_COPTER_SOUND:
switch (ch_flag) {
case AUX_SWITCH_HIGH:
AP_Notify::flags.lost_copter = TRUE;
AP_Notify::flags.vehicle_lost = true;
break;
case AUX_SWITCH_LOW:
AP_Notify::flags.lost_copter = FALSE;
AP_Notify::flags.vehicle_lost = false;
break;
}
break;

Loading…
Cancel
Save