I have committed this patch, which is intended to turn led off when done. Actually, when set all to input, the led would be off, too. But this patch just turns the led off at the right place.

Jie
  * tap/cable/ft2232.c (ft2232_gnice_done): Turn LED off when done.

Index: src/tap/cable/ft2232.c
===================================================================
--- src/tap/cable/ft2232.c	(revision 1748)
+++ src/tap/cable/ft2232.c	(working copy)
@@ -959,7 +959,8 @@ ft2232_gnice_done (urj_cable_t *cable)
     /* Set Data Bits High Byte
        disable output drivers */
     urj_tap_cable_cx_cmd_push (cmd_root, SET_BITS_HIGH);
-    urj_tap_cable_cx_cmd_push (cmd_root, BITMASK_GNICE_nTRST);
+    urj_tap_cable_cx_cmd_push (cmd_root,
+                               BITMASK_GNICE_nTRST | BITMASK_GNICE_nLED);
     urj_tap_cable_cx_cmd_push (cmd_root,
                                BITMASK_GNICE_nTRST | BITMASK_GNICE_nLED);
 
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to