mirror of
https://github.com/okalachev/flix.git
synced 2025-08-17 17:16:10 +00:00
Add missing const qualifiers
This commit is contained in:
@@ -37,7 +37,7 @@ const char* motd =
|
||||
"reset - reset drone's state\n"
|
||||
"reboot - reboot the drone\n";
|
||||
|
||||
void doCommand(String& command, String& arg0, String& arg1) {
|
||||
void doCommand(const String& command, const String& arg0, const String& arg1) {
|
||||
if (command == "help" || command == "motd") {
|
||||
Serial.println(motd);
|
||||
} else if (command == "p" && arg0 == "") {
|
||||
|
Reference in New Issue
Block a user