a0c9c74
--- vfrnav-20141211/flightdeck/sensgpsd.cc.orig	2015-01-29 16:14:59.000000000 +0100
a0c9c74
+++ vfrnav-20141211/flightdeck/sensgpsd.cc	2015-07-07 12:28:28.368437598 +0200
57b0f0d
@@ -134,9 +134,6 @@
57b0f0d
 
57b0f0d
 			case MODE_3D:
57b0f0d
 				m_fixtype = fixtype_3d;
57b0f0d
-				if (m_gpsdata.m_gpsdata.status == STATUS_DGPS_FIX &&
57b0f0d
-				    (m_gpsdata.m_gpsdata.set & STATUS_SET))
57b0f0d
-					m_fixtype = fixtype_3d_diff;
57b0f0d
 				break;
57b0f0d
 			}
57b0f0d
 		}
a0c9c74
@@ -177,16 +174,16 @@
a0c9c74
 	if (m_gpsdata.m_gpsdata.set & SATELLITE_SET) {
a0c9c74
 		std::set<int> satused;
a0c9c74
 		for (int i = 0; i < m_gpsdata.m_gpsdata.satellites_used; ++i) {
a0c9c74
-			satused.insert(m_gpsdata.m_gpsdata.used[i]);
a0c9c74
+			satused.insert(m_gpsdata.m_gpsdata.skyview[i].used);
a0c9c74
 			if (true)
a0c9c74
-				std::cerr << "SV PRN used: " << m_gpsdata.m_gpsdata.used[i] << std::endl;
a0c9c74
+				std::cerr << "SV PRN used: " << m_gpsdata.m_gpsdata.skyview[i].used << std::endl;
a0c9c74
 		}
a0c9c74
 		satellites_t sat;
a0c9c74
 		for (int i = 0; i < m_gpsdata.m_gpsdata.satellites_visible; ++i) {
a0c9c74
-			sat.push_back(Satellite(m_gpsdata.m_gpsdata.PRN[i], m_gpsdata.m_gpsdata.azimuth[i], m_gpsdata.m_gpsdata.elevation[i],
a0c9c74
-						m_gpsdata.m_gpsdata.ss[i], satused.find(m_gpsdata.m_gpsdata.PRN[i]) != satused.end()));
a0c9c74
+			sat.push_back(Satellite(m_gpsdata.m_gpsdata.skyview[i].PRN, m_gpsdata.m_gpsdata.skyview[i].azimuth, m_gpsdata.m_gpsdata.skyview[i].elevation,
a0c9c74
+						m_gpsdata.m_gpsdata.skyview[i].ss, satused.find(m_gpsdata.m_gpsdata.skyview[i].PRN) != satused.end()));
a0c9c74
 			if (true)
a0c9c74
-				std::cerr << "SV: " << m_gpsdata.m_gpsdata.PRN[i] << std::endl;
a0c9c74
+				std::cerr << "SV: " << m_gpsdata.m_gpsdata.skyview[i].PRN << std::endl;
a0c9c74
 		}
a0c9c74
 		m_sat.swap(sat);
a0c9c74
 		pc.set_changed(parnrsatellites);