Ignore:
Timestamp:
Apr 5, 2019, 9:26:53 PM (5 years ago)
Author:
coas-nagasima
Message:

mbed関連を更新
シリアルドライバをmbedのHALを使うよう変更
ファイルディスクリプタの処理を更新

File:
1 edited

Legend:

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

    r369 r374  
    7979#include "kernel/kernel_impl.h"
    8080#include "btstack/utils.h"
    81 #include "panu_main.h"
     81#include "bt_main.h"
    8282#include "usb_hbth.h"
    8383//#include "hal_cpu.h"
     
    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.