fixed type error

This commit is contained in:
Jason Short 2012-01-10 23:41:20 -08:00
parent ecaf5ac461
commit f43c29e840
1 changed files with 4 additions and 3 deletions

View File

@ -30,7 +30,8 @@ Menu::Menu(const prog_char *prompt, const Menu::command *commands, uint8_t entri
void
Menu::run(void)
{
uint8_t len, i, ret;
int8_t ret;
uint8_t len, i;
uint8_t argc;
int c;
char *s;
@ -123,12 +124,12 @@ Menu::run(void)
return;
}
}
if (cmd_found==false)
{
Serial.println("Invalid command, type 'help'");
}
}
}