From: hackbard Date: Thu, 2 Mar 2006 23:36:38 +0000 (+0000) Subject: reactivated alt set X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=698a0e4b024bf89b9862fdebfbd673f0bdc6a118;p=rfid%2Flibrfid.git reactivated alt set --- diff --git a/gemtag/gemtag.c b/gemtag/gemtag.c index db4823e..19ccc63 100644 --- a/gemtag/gemtag.c +++ b/gemtag/gemtag.c @@ -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;