Skip to content
Commit 92b1e7cc authored by Max Lin's avatar Max Lin
Browse files

Used the gps_open() return value as condition instead of checking m_gpsdata

Checking the return value of gps_open() as condition instead of checking
m_gpsdata for GPSD_API_MAJOR_VERSION >=5, there should be prevent crash
occurred when no gpsd running.

BUG: 277036
REVIEW: 103035
parent e407e5cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment