daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Aug 27th, 2013 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ git diff src/jtag/drivers/usb_blaster/ublast_access_ftdi.c
  2. diff --git a/src/jtag/drivers/usb_blaster/ublast_access_ftdi.c b/src/jtag/drivers/usb_blaster/ublast_access_ftdi.c
  3. index c5ac3e6..e89dc46 100644
  4. --- a/src/jtag/drivers/usb_blaster/ublast_access_ftdi.c
  5. +++ b/src/jtag/drivers/usb_blaster/ublast_access_ftdi.c
  6. @@ -94,7 +94,7 @@ static int ublast_ftdi_speed(struct ublast_lowlevel *low, int speed)
  7.  
  8.  static int ublast_ftdi_init(struct ublast_lowlevel *low)
  9.  {
  10. -       uint8_t latency_timer;
  11. +       //uint8_t latency_timer;
  12.         struct ftdi_context *ftdic = ublast_getftdic(low);
  13.  
  14.         LOG_INFO("usb blaster interface using libftdi");
  15. @@ -116,12 +116,13 @@ static int ublast_ftdi_init(struct ublast_lowlevel *low)
  16.                 LOG_ERROR("unable to set latency timer");
  17.                 return ERROR_JTAG_INIT_FAILED;
  18.         }
  19. -
  20. +/*
  21.         if (ftdi_get_latency_timer(ftdic, &latency_timer) < 0) {
  22.                 LOG_ERROR("unable to get latency timer");
  23.                 return ERROR_JTAG_INIT_FAILED;
  24.         }
  25.         LOG_DEBUG("current latency timer: %u", latency_timer);
  26. +       */
  27.  
  28.         ftdi_disable_bitbang(ftdic);
  29.         return ERROR_OK;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top