Copter: Delete a comparison that does not become a true forever.
This commit is contained in:
parent
38fff6d43d
commit
ec4c17e630
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user