Merge "Changes for GPS HAL compilation"
This commit is contained in:
commit
340744e458
2 changed files with 1 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
||||||
#include <msg_q.h>
|
#include <msg_q.h>
|
||||||
#include <log_util.h>
|
#include <log_util.h>
|
||||||
#include <loc_log.h>
|
#include <loc_log.h>
|
||||||
#include <android_runtime/AndroidRuntime.h>
|
|
||||||
|
|
||||||
namespace loc_core {
|
namespace loc_core {
|
||||||
|
|
||||||
|
|
|
@ -137,7 +137,7 @@ static int loc_api_server_proc(void *context)
|
||||||
free(p_cmsgbuf);
|
free(p_cmsgbuf);
|
||||||
LOC_LOGE("%s:%d] fail receiving msg from gpsone_daemon, retry later\n", __func__, __LINE__);
|
LOC_LOGE("%s:%d] fail receiving msg from gpsone_daemon, retry later\n", __func__, __LINE__);
|
||||||
usleep(1000);
|
usleep(1000);
|
||||||
return 0;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOC_LOGD("%s:%d] received ctrl_type = %d\n", __func__, __LINE__, p_cmsgbuf->ctrl_type);
|
LOC_LOGD("%s:%d] received ctrl_type = %d\n", __func__, __LINE__, p_cmsgbuf->ctrl_type);
|
||||||
|
|
Loading…
Reference in a new issue