Browse Source

Rover: allow sonar test with sonar disabled

useful for initial config
master
Andrew Tridgell 12 years ago
parent
commit
3aeb836bc0
  1. 3
      APMrover2/test.pde

3
APMrover2/test.pde

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

Loading…
Cancel
Save