Change data type of HEPE to float
This is to accomodate values of accuracy that exceed 65535 CRs-fixed: 449184 Change-Id: Icc89c4bbb6975027083fd906bdc2d0ca40060431
This commit is contained in:
parent
dc72922169
commit
842b4c3e68
2 changed files with 2 additions and 2 deletions
|
@ -914,7 +914,7 @@ struct ulp_msg_inject_network_position : public loc_eng_msg {
|
||||||
loc_eng_msg(instance, ULP_MSG_INJECT_NETWORK_POSITION),
|
loc_eng_msg(instance, ULP_MSG_INJECT_NETWORK_POSITION),
|
||||||
networkPosition(networkPos)
|
networkPosition(networkPos)
|
||||||
{
|
{
|
||||||
LOC_LOGV("flags: %d\n source: %d\n latitude: %f\n longitude: %f\n accuracy %d",
|
LOC_LOGV("flags: %d\n source: %d\n latitude: %f\n longitude: %f\n accuracy %f",
|
||||||
networkPosition.valid_flag,
|
networkPosition.valid_flag,
|
||||||
networkPosition.position.pos_source,
|
networkPosition.position.pos_source,
|
||||||
networkPosition.position.latitude,
|
networkPosition.position.latitude,
|
||||||
|
|
|
@ -264,7 +264,7 @@ typedef struct {
|
||||||
/** longitude in degrees */
|
/** longitude in degrees */
|
||||||
double longitude;
|
double longitude;
|
||||||
/** Horzizontal error estimate in meters */
|
/** Horzizontal error estimate in meters */
|
||||||
uint16_t HEPE;
|
float HEPE;
|
||||||
} UlpNetworkPosition;
|
} UlpNetworkPosition;
|
||||||
|
|
||||||
/** Represents access point information */
|
/** Represents access point information */
|
||||||
|
|
Loading…
Reference in a new issue