Commit 591e2082 authored by Eric Duminil's avatar Eric Duminil
Browse files

Fewer logs

parent 535710a5
......@@ -73,17 +73,14 @@ namespace sensor_commands {
listAvailableCallbacks();
return;
}
Serial.print("Command : '");
Serial.print(function_name);
Serial.print("'. Parameter : ");
Serial.println(parameter);
for (uint8_t i = 0; i < callbacks_count; i++) {
if (!strcmp(function_name, callbacks[i].name)) {
Serial.print("Function found!!!");
Serial.print("Trying '");
Serial.print(callbacks[i].name);
Serial.println("'");
Serial.print("Calling : ");
Serial.print(function_name);
Serial.print("(");
Serial.print(parameter);
Serial.println(")");
callbacks[i].function(parameter);
return;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment