Changeset 111 for sandbox/JamPlayerUSB


Ignore:
Timestamp:
Feb 6, 2011, 10:56:17 PM (14 years ago)
Author:
demin
Message:

remove unused variables and debug printouts

Location:
sandbox/JamPlayerUSB
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sandbox/JamPlayerUSB/jbiexprt.h

    r110 r111  
    157157);
    158158
     159void usb_blaster_wait
     160(
     161    int count,
     162    int tms
     163);
     164
     165void usb_blaster_scan
     166(
     167    int count,
     168    unsigned char *tdi,
     169    unsigned char *tdo
     170);
     171
    159172int jbi_jtag_io
    160173(
  • sandbox/JamPlayerUSB/jbijtag.c

    r110 r111  
    624624/****************************************************************************/
    625625{
    626         int tms, flag;
    627         long count;
    628626        JBI_RETURN_TYPE status = JBIC_SUCCESS;
    629627
     
    639637                *       Set TMS low to loop in any other stable state
    640638                */
    641                 tms = (wait_state == RESET) ? TMS_HIGH : TMS_LOW;
    642 
    643         usb_blaster_wait(cycles, tms);
     639        usb_blaster_wait(cycles, (wait_state == RESET) ? TMS_HIGH : TMS_LOW);
    644640        }
    645641
     
    763759)
    764760{
    765         int i = 0;
    766         int tdo_bit = 0;
    767761        int status = 1;
    768762
     
    817811)
    818812{
    819         int i = 0;
    820         int tdo_bit = 0;
    821813        int status = 1;
    822814
  • sandbox/JamPlayerUSB/jbistub.c

    r110 r111  
    171171    int i, len, extra;
    172172
    173     printf("usb_blaster_wait (count tms)  -> (%d %d)\n", count, tms);
    174     fflush(stdout);
    175 
    176173    if (count <= 0) return;
    177174   
     
    221218
    222219    read_tdo = (tdo != NULL);
    223 
    224     printf("usb_blaster_scan (count read)  -> (%d %d)\n", count, read_tdo);
    225     fflush(stdout);
    226220
    227221    if (count <= 0) return;
Note: See TracChangeset for help on using the changeset viewer.