- Timestamp:
- Apr 5, 2019, 9:26:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_arm/trunk/asp3_dcre/tinet/netdev/if_btusb/if_btusb.c
r369 r374 79 79 #include "kernel/kernel_impl.h" 80 80 #include "btstack/utils.h" 81 #include " panu_main.h"81 #include "bt_main.h" 82 82 #include "usb_hbth.h" 83 83 //#include "hal_cpu.h" … … 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.