Commits

wump  committed 42cee8c

stripping output bytes is up to application as well

  • Participants
  • Parent commits 2fb8772

Comments (0)

Files changed (2)

             fprintf(stderr, "Error reading from interface\n");
             return -1;
         }
-        for(i=0; i<data_out_size; ++i)
-            data_out[i] &= 1;
     }
     return 0;
 }
 #define TMS       0x02
 #define TCK       0x01
 
+/* Output word */
+#define getTDO(x)       ((x)&0x01)
+
 struct usb_dev_handle *jtag_init(void);
 int jtag_reset_tap(struct usb_dev_handle *dev);
 int jtag_clockio(struct usb_dev_handle *dev, uint8_t data_in);