From ea5c24b70bb8556ef0d00681ac9dc52580b25837 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Mon, 13 Apr 2015 17:30:27 +0900 Subject: [PATCH] Copter: rename lost_copter to vehicle_lost --- ArduCopter/switches.pde | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/switches.pde b/ArduCopter/switches.pde index 3cbbad188f..f2a69201f9 100644 --- a/ArduCopter/switches.pde +++ b/ArduCopter/switches.pde @@ -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;