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:
Tushar Janefalkar 2013-02-28 16:34:07 -08:00
parent dc72922169
commit 842b4c3e68
2 changed files with 2 additions and 2 deletions

View file

@ -914,7 +914,7 @@ struct ulp_msg_inject_network_position : public loc_eng_msg {
loc_eng_msg(instance, ULP_MSG_INJECT_NETWORK_POSITION),
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.position.pos_source,
networkPosition.position.latitude,

View file

@ -264,7 +264,7 @@ typedef struct {
/** longitude in degrees */
double longitude;
/** Horzizontal error estimate in meters */
uint16_t HEPE;
float HEPE;
} UlpNetworkPosition;
/** Represents access point information */