diff options
| author | chrmhoffmann <chrmhoffmann@gmail.com> | 2017-03-25 14:39:48 +0100 |
|---|---|---|
| committer | Michael Bestas <mikeioannina@gmail.com> | 2017-04-22 13:51:58 +0300 |
| commit | 0bff9cf8fed8db657f8cbab01acaa49fd7e8df11 (patch) | |
| tree | e711b12632d64261ad85ae7cae9fb60432d711d0 /gps/utils/MsgTask.cpp | |
| parent | 51ba0431529f451e6f2b80357a81ec8f881aaebf (diff) | |
ether: gps: Update to LA.BF64.1.2.3_rb1.9
* Remove loc_api that depends on QCPATH to compile,
we are using blobs for it
Change-Id: Iebc24d1beef3c1a4e0c6c917b6e2b7be0017936f
Diffstat (limited to 'gps/utils/MsgTask.cpp')
| -rw-r--r-- | gps/utils/MsgTask.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gps/utils/MsgTask.cpp b/gps/utils/MsgTask.cpp index fdb1102..0e7a3a2 100644 --- a/gps/utils/MsgTask.cpp +++ b/gps/utils/MsgTask.cpp @@ -63,9 +63,9 @@ MsgTask::~MsgTask() { } void MsgTask::destroy() { + LocThread* thread = mThread; msg_q_unblock((void*)mQ); - if (mThread) { - LocThread* thread = mThread; + if (thread) { mThread = NULL; delete thread; } else { @@ -83,7 +83,7 @@ void MsgTask::prerun() { } bool MsgTask::run() { - LOC_LOGD("MsgTask::loop() listening ...\n"); + LOC_LOGV("MsgTask::loop() listening ...\n"); LocMsg* msg; msq_q_err_type result = msg_q_rcv((void*)mQ, (void **)&msg); if (eMSG_Q_SUCCESS != result) { |
