comparison Output/pjrcUSB/arm/usb_dev.c @ 376:47f89f1bfdb7

Prep for mouse support
author Jacob Alexander <haata@kiibohd.com>
date Sun, 20 Sep 2015 18:47:10 -0700
parents 39e338a6733d
children fbe55b27dc02
comparison
equal deleted inserted replaced
375:3e5a95c196f8 376:47f89f1bfdb7
1029 case TX_STATE_ODD_FREE: 1029 case TX_STATE_ODD_FREE:
1030 tx_state[ endpoint ] = TX_STATE_BOTH_FREE_ODD_FIRST; 1030 tx_state[ endpoint ] = TX_STATE_BOTH_FREE_ODD_FIRST;
1031 break; 1031 break;
1032 default: 1032 default:
1033 tx_state[ endpoint ] = ((uint32_t)b & 8) 1033 tx_state[ endpoint ] = ((uint32_t)b & 8)
1034 ? TX_STATE_ODD_FREE 1034 ? TX_STATE_ODD_FREE
1035 : TX_STATE_EVEN_FREE; 1035 : TX_STATE_EVEN_FREE;
1036 break; 1036 break;
1037 } 1037 }
1038 } 1038 }
1039 } 1039 }
1040 else 1040 else