Ignore:
Timestamp:
Feb 1, 2019, 9:57:09 PM (5 years ago)
Author:
coas-nagasima
Message:

TINETとSocket APIなどを更新

File:
1 edited

Legend:

Unmodified
Added
Removed
  • asp3_tinet_ecnl_rx/trunk/asp3_dcre/tinet/netdev/if_btusb/if_btusb.c

    r337 r364  
    150150
    151151T_IF_SOFTC if_softc = {
    152         {0,},                                           /* ネットワークインタフェースのアドレス   */
     152        {{0,}},                                         /* ネットワークインタフェースのアドレス   */
    153153        0,                                                      /* 送信タイムアウト                     */
    154154        &btusb_softc,                           /* ディバイス依存のソフトウェア情報     */
     
    691691}
    692692
    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 
    708693// single instance
    709694static const hci_transport_t hci_transport_usb =
Note: See TracChangeset for help on using the changeset viewer.