Changeset 25 for trunk/FirmwareFX2/fx2
- Timestamp:
- Sep 1, 2009, 10:09:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FirmwareFX2/fx2/usb_common.c
r4 r25 52 52 current_config_descr = high_speed_config_descr; 53 53 other_config_descr = full_speed_config_descr; 54 55 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 56 56 } 57 57 else { … … 60 60 current_config_descr = full_speed_config_descr; 61 61 other_config_descr = high_speed_config_descr; 62 63 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 64 64 } 65 65 … … 289 289 290 290 case RQ_SET_CONFIG: 291 IOE &= ~(1 << 6);292 291 _usb_config = wValueL; // FIXME app should handle 293 292 break;
Note:
See TracChangeset
for help on using the changeset viewer.