Copter: rename lost_copter to vehicle_lost

This commit is contained in:
Randy Mackay 2015-04-13 17:30:27 +09:00
parent 2472702838
commit ea5c24b70b

View File

@ -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;