Rover: allow sonar test with sonar disabled

useful for initial config
This commit is contained in:
Andrew Tridgell 2013-03-01 12:29:29 +11:00
parent cbdeb20dad
commit 3aeb836bc0
1 changed files with 1 additions and 2 deletions

View File

@ -546,8 +546,7 @@ static int8_t
test_sonar(uint8_t argc, const Menu::arg *argv)
{
if (!g.sonar_enabled) {
cliSerial->println_P(PSTR("Sonar is not enabled"));
return 0;
cliSerial->println_P(PSTR("WARNING: Sonar is not enabled"));
}
print_hit_enter();