File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -571,6 +571,8 @@ gboolean qth_data_update(qth_t * qth, gdouble t)
571571 case 12 :
572572 case 13 :
573573 case 14 :
574+ case 15 :
575+ case 16 :
574576#if GPSD_API_MAJOR_VERSION >=11 /* for libgps 3.22 or later */
575577 while (gps_waiting (qth -> gps_data , 0 ) == 1 )
576578 {
@@ -742,6 +744,8 @@ gboolean qth_data_update_init(qth_t * qth)
742744 case 12 :
743745 case 13 :
744746 case 14 :
747+ case 15 :
748+ case 16 :
745749#if GPSD_API_MAJOR_VERSION >=11 /* for libgps 3.22 or later */
746750 /* open the connection to gpsd and start the stream */
747751 qth -> gps_data = g_try_new0 (struct gps_data_t , 1 );
@@ -818,7 +822,9 @@ void qth_data_update_stop(qth_t * qth)
818822 case 12 :
819823 case 13 :
820824 case 14 :
821- #if GPSD_API_MAJOR_VERSION == 11
825+ case 15 :
826+ case 16 :
827+ #if GPSD_API_MAJOR_VERSION >=11
822828 gps_close (qth -> gps_data );
823829#endif
824830 break ;
You can’t perform that action at this time.
0 commit comments