token is 16 bits now

This commit is contained in:
Andrew Tridgell 2012-02-13 10:27:18 +11:00
parent a948241fa1
commit 153575a01c
2 changed files with 2 additions and 2 deletions

View File

@ -1617,7 +1617,7 @@ GCS_MAVLINK::_count_parameters()
// if we haven't cached the parameter count yet...
if (0 == _parameter_count) {
AP_Param *vp;
uint32_t token;
uint16_t token;
vp = AP_Param::first(&token, NULL);
do {

View File

@ -1969,7 +1969,7 @@ GCS_MAVLINK::_count_parameters()
// if we haven't cached the parameter count yet...
if (0 == _parameter_count) {
AP_Param *vp;
uint32_t token;
uint16_t token;
vp = AP_Param::first(&token, NULL);
do {