|
|
@ -346,10 +346,11 @@ int8_t Rover::test_ins(uint8_t argc, const Menu::arg *argv) |
|
|
|
|
|
|
|
|
|
|
|
void Rover::print_enabled(bool b) |
|
|
|
void Rover::print_enabled(bool b) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(b) |
|
|
|
if (b) { |
|
|
|
cliSerial->print("en"); |
|
|
|
cliSerial->print("en"); |
|
|
|
else |
|
|
|
} else { |
|
|
|
cliSerial->print("dis"); |
|
|
|
cliSerial->print("dis"); |
|
|
|
|
|
|
|
} |
|
|
|
cliSerial->println("abled"); |
|
|
|
cliSerial->println("abled"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|