mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 10:08:28 -04:00
token is 16 bits now
This commit is contained in:
parent
ed2271ceea
commit
ecdbfd257a
@ -1617,7 +1617,7 @@ GCS_MAVLINK::_count_parameters()
|
|||||||
// if we haven't cached the parameter count yet...
|
// if we haven't cached the parameter count yet...
|
||||||
if (0 == _parameter_count) {
|
if (0 == _parameter_count) {
|
||||||
AP_Param *vp;
|
AP_Param *vp;
|
||||||
uint32_t token;
|
uint16_t token;
|
||||||
|
|
||||||
vp = AP_Param::first(&token, NULL);
|
vp = AP_Param::first(&token, NULL);
|
||||||
do {
|
do {
|
||||||
|
@ -1969,7 +1969,7 @@ GCS_MAVLINK::_count_parameters()
|
|||||||
// if we haven't cached the parameter count yet...
|
// if we haven't cached the parameter count yet...
|
||||||
if (0 == _parameter_count) {
|
if (0 == _parameter_count) {
|
||||||
AP_Param *vp;
|
AP_Param *vp;
|
||||||
uint32_t token;
|
uint16_t token;
|
||||||
|
|
||||||
vp = AP_Param::first(&token, NULL);
|
vp = AP_Param::first(&token, NULL);
|
||||||
do {
|
do {
|
||||||
|
Loading…
Reference in New Issue
Block a user