Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FirmwareFX2/fx2/usb_common.c

    r4 r25  
    5252    current_config_descr  = high_speed_config_descr;
    5353    other_config_descr    = full_speed_config_descr;
    54         EP8AUTOINLENH = 0x02; SYNCDELAY;                                // Size in bytes of the IN data automatically commited (512 bytes here)
    55         EP8AUTOINLENL = 0x00; SYNCDELAY;                                // Can use signal PKTEND if you want to commit a shorter packet
     54    EP8AUTOINLENH = 0x02; SYNCDELAY;                            // Size in bytes of the IN data automatically commited (512 bytes here)
     55    EP8AUTOINLENL = 0x00; SYNCDELAY;                            // Can use signal PKTEND if you want to commit a shorter packet
    5656  }
    5757  else {
     
    6060    current_config_descr  = full_speed_config_descr;
    6161    other_config_descr    = high_speed_config_descr;
    62         EP8AUTOINLENH = 0x00; SYNCDELAY;                                // Size in bytes of the IN data automatically commited (64 bytes here)
    63         EP8AUTOINLENL = 0x40; SYNCDELAY;                                // Can use signal PKTEND if you want to commit a shorter packet
     62    EP8AUTOINLENH = 0x00; SYNCDELAY;                            // Size in bytes of the IN data automatically commited (64 bytes here)
     63    EP8AUTOINLENL = 0x40; SYNCDELAY;                            // Can use signal PKTEND if you want to commit a shorter packet
    6464  }
    6565
     
    289289
    290290      case RQ_SET_CONFIG:
    291         IOE &= ~(1 << 6);
    292291        _usb_config = wValueL;          // FIXME app should handle
    293292        break;
Note: See TracChangeset for help on using the changeset viewer.