@@ -474,8 +474,8 @@ static const dc_descriptor_t g_descriptors[] = {
474
474
/* for the Mk1 we are using the model of the global model */
475
475
/* for the Mk2/Mk3 we are using the model of the Mk2 global model */
476
476
/* see garmin_parser.c for a more comprehensive list of models */
477
- {"Garmin" , "Descent Mk1" , DC_FAMILY_GARMIN , 2859 , DC_TRANSPORT_USBSTORAGE , dc_filter_garmin },
478
- {"Garmin" , "Descent Mk2(i)/Mk3(i)" , DC_FAMILY_GARMIN , 3258 , DC_TRANSPORT_USBSTORAGE , dc_filter_garmin },
477
+ {"Garmin" , "Descent Mk1" , DC_FAMILY_GARMIN , 2859 , DC_TRANSPORT_USBSTORAGE , NULL },
478
+ {"Garmin" , "Descent Mk2(i)/Mk3(i)" , DC_FAMILY_GARMIN , 3258 , DC_TRANSPORT_USBSTORAGE , NULL },
479
479
{"FIT" , "File import" , DC_FAMILY_GARMIN , 0 , DC_TRANSPORT_USBSTORAGE , NULL },
480
480
};
481
481
@@ -858,21 +858,6 @@ dc_filter_divesoft (dc_descriptor_t *descriptor, dc_transport_t transport, const
858
858
return 1 ;
859
859
}
860
860
861
- // Not merged upstream yet
862
- static int
863
- dc_filter_garmin (dc_descriptor_t * descriptor , dc_transport_t transport , const void * userdata )
864
- {
865
- static const dc_usb_desc_t usbhid [] = {
866
- {0x091e , 0x2b2b }, // Garmin Descent Mk1
867
- };
868
-
869
- if (transport == DC_TRANSPORT_USBSTORAGE ) {
870
- return DC_FILTER_INTERNAL (userdata , usbhid , 0 , dc_match_usb );
871
- }
872
-
873
- return 1 ;
874
- }
875
-
876
861
dc_status_t
877
862
dc_descriptor_iterator (dc_iterator_t * * out )
878
863
{
0 commit comments