gps: enable nmea callback
Add code for calling NMEA callback for receiving NMEA. Change-Id: I04689cbc166e3db9d4479bf85636363a87176468
This commit is contained in:
parent
f77c85bb51
commit
0a49d62c7a
1 changed files with 1 additions and 0 deletions
1
loc_api/libloc_api_50001/loc_eng.cpp
Executable file → Normal file
1
loc_api/libloc_api_50001/loc_eng.cpp
Executable file → Normal file
|
@ -1500,6 +1500,7 @@ static void loc_eng_deferred_action_thread(void* arg)
|
|||
gettimeofday(&tv, (struct timezone *) NULL);
|
||||
int64_t now = tv.tv_sec * 1000LL + tv.tv_usec / 1000;
|
||||
CALLBACK_LOG_CALLFLOW("nmea_cb", %p, nmMsg->nmea);
|
||||
loc_eng_data_p->nmea_cb(now, nmMsg->nmea, nmMsg->length);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue