mirror of https://github.com/ArduPilot/ardupilot
token is 16 bits now
This commit is contained in:
parent
a948241fa1
commit
153575a01c
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue