]> hackdaworld.org Git - rfid/librfid.git/commitdiff
reactivated alt set
authorhackbard <hackbard>
Thu, 2 Mar 2006 23:36:38 +0000 (23:36 +0000)
committerhackbard <hackbard>
Thu, 2 Mar 2006 23:36:38 +0000 (23:36 +0000)
gemtag/gemtag.c

index db4823e52f32baf31b80a5dad240937115445998..19ccc637842862ce855b339cf5b2e0155c6a01f4 100644 (file)
@@ -196,9 +196,9 @@ struct gemtag_handle *gemtag_open(void) {
        }
        printf("claimed interface 0, ");
 
-       // while(usb_set_altinterface(gh->handle,0))
-       //      printf("trying to set alt interface\n");
-       // printf("activated alt setting 0\n");
+       if(usb_set_altinterface(gh->handle,0))
+               perror("set alt interface");
+       printf("activated alt setting 0\n");
 
        gh->capabilities|=GEMTAG_CAP_CRC;