From ec4c17e6306b144d2c572456637da620276ee62c Mon Sep 17 00:00:00 2001 From: murata Date: Fri, 12 Aug 2016 05:54:49 +0900 Subject: [PATCH] Copter: Delete a comparison that does not become a true forever. --- ArduCopter/setup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/setup.cpp b/ArduCopter/setup.cpp index faaae1d675..53b30f80ab 100644 --- a/ArduCopter/setup.cpp +++ b/ArduCopter/setup.cpp @@ -246,7 +246,7 @@ int8_t Copter::esc_calib(uint8_t argc,const Menu::arg *argv) if (c == 'c') { break; - } else if (c == 0x03 || c == 0x63 || c == 'q') { + } else if (c == 0x03 || c == 'q') { cliSerial->printf("ESC calibration exited\n"); return(0); } @@ -274,7 +274,7 @@ int8_t Copter::esc_calib(uint8_t argc,const Menu::arg *argv) break; - } else if (c == 0x03 || c == 0x63 || c == 'q') { + } else if (c == 0x03 || c == 'q') { cliSerial->printf("ESC calibration exited\n"); return(0); }