Reworked MAVLink parameter interface to support new parameter storage, tested.

This commit is contained in:
Lorenz Meier
2012-08-20 09:07:33 +02:00
parent 4a7f92fad0
commit 2c8fafd12a
5 changed files with 186 additions and 104 deletions
+9
View File
@@ -193,6 +193,15 @@ param_for_index(unsigned index)
return PARAM_INVALID;
}
int
param_get_index(param_t param)
{
if (handle_in_range(param))
return (unsigned)param;
return -1;
}
const char *
param_name(param_t param)
{