Changeset 364 for asp3_tinet_ecnl_rx/trunk/asp3_dcre/tinet/netdev
- Timestamp:
- Feb 1, 2019, 9:57:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/asp3_dcre/tinet/netdev/if_btusb/if_btusb.c
r337 r364 150 150 151 151 T_IF_SOFTC if_softc = { 152 { 0,}, /* ネットワークインタフェースのアドレス */152 {{0,}}, /* ネットワークインタフェースのアドレス */ 153 153 0, /* 送信タイムアウト */ 154 154 &btusb_softc, /* ディバイス依存のソフトウェア情報 */ … … 691 691 } 692 692 693 static int usb_acl_out_active = 0;694 static int usb_command_active = 0;695 696 static int usb_can_send_packet_now(uint8_t packet_type)697 {698 switch (packet_type) {699 case HCI_COMMAND_DATA_PACKET:700 return !usb_command_active;701 case HCI_ACL_DATA_PACKET:702 return !usb_acl_out_active;703 default:704 return 0;705 }706 }707 708 693 // single instance 709 694 static const hci_transport_t hci_transport_usb =
Note:
See TracChangeset
for help on using the changeset viewer.