ArduCopter: remove unused wait_for_yes function

This commit is contained in:
rmackay9 2012-12-17 17:52:04 +09:00 committed by Andrew Tridgell
parent e6519330f4
commit 0fa6fdf407
1 changed files with 0 additions and 18 deletions

View File

@ -1068,24 +1068,6 @@ print_blanks(int16_t num)
} }
} }
static bool
wait_for_yes()
{
int c;
while (cliSerial->read() != -1); /* flush */
cliSerial->printf_P(PSTR("Y to save\n"));
do {
c = cliSerial->read();
} while (-1 == c);
if (('y' == c) || ('Y' == c))
return true;
else
return false;
}
static void static void
print_divider(void) print_divider(void)
{ {