gps: enable nmea callback

Add code for calling NMEA callback for receiving NMEA.

Change-Id: I04689cbc166e3db9d4479bf85636363a87176468
This commit is contained in:
woojin.shin 2012-07-25 21:52:18 +09:00 committed by Iliyan Malchev
parent f77c85bb51
commit 0a49d62c7a

1
loc_api/libloc_api_50001/loc_eng.cpp Executable file → Normal file
View 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;