mirror of https://github.com/ArduPilot/ardupilot
Rover: allow sonar test with sonar disabled
useful for initial config
This commit is contained in:
parent
cbdeb20dad
commit
3aeb836bc0
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue