+\r
+/** Retrieves a parameter entry (including ID, value and privellages) from the parameter table that matches the given\r
+ * parameter ID.\r
+ *\r
+ * \param ParamID Parameter ID to find in the table\r
+ *\r
+ * \return Pointer to the associated parameter information from the parameter table if found, NULL otherwise\r
+ */\r
+static ParameterItem_t* V2Params_GetParamFromTable(uint8_t ParamID)\r
+{\r
+ /* Find the parameter in the parameter table if present */\r
+ for (uint8_t TableIndex = 0; TableIndex < (sizeof(ParameterTable) / sizeof(ParameterTable[0])); TableIndex++)\r
+ {\r
+ if (ParamID == ParameterTable[TableIndex].ParamID)\r
+ return &ParameterTable[TableIndex];\r
+ }\r
+ \r
+ return NULL;\r
+}\r