fixed a copy paste error
should NULL check set_system_info_cb instead. Change-Id: If3a4f4bdb3025d92c1fcd2af320fd370d51301aa
This commit is contained in:
parent
c3a4fba9b8
commit
f97a97d0d1
1 changed files with 1 additions and 1 deletions
|
@ -1384,7 +1384,7 @@ struct LocEngSetSystemInfo : public LocMsg {
|
||||||
locallog();
|
locallog();
|
||||||
}
|
}
|
||||||
inline virtual void proc() const {
|
inline virtual void proc() const {
|
||||||
if (NULL != mLocEng->set_capabilities_cb) {
|
if (NULL != mLocEng->set_system_info_cb) {
|
||||||
LOC_LOGV("calling set_system_info_cb 0x%x",
|
LOC_LOGV("calling set_system_info_cb 0x%x",
|
||||||
mLocEng->adapter->mGnssInfo.year_of_hw);
|
mLocEng->adapter->mGnssInfo.year_of_hw);
|
||||||
mLocEng->set_system_info_cb(&(mLocEng->adapter->mGnssInfo));
|
mLocEng->set_system_info_cb(&(mLocEng->adapter->mGnssInfo));
|
||||||
|
|
Loading…
Reference in a new issue