MCPcopy Create free account
hub / github.com/ArduPilot/ArduRemoteID / find

Method find

RemoteIDModule/parameters.cpp:97–105  ·  view source on GitHub ↗

find by name */

Source from the content-addressed store, hash-verified

95 find by name
96 */
97const Parameters::Param *Parameters::find(const char *name)
98{
99 for (const auto &p : params) {
100 if (strcmp(name, p.name) == 0) {
101 return &p;
102 }
103 }
104 return nullptr;
105}
106
107/*
108 find by index

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected