Skip to content

Commit 1992165

Browse files
authored
Create hosted_mcu_vhci_drv.diff
1 parent a43f724 commit 1992165

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

patches/hosted_mcu_vhci_drv.diff

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/host/drivers/bt/vhci_drv.c b/host/drivers/bt/vhci_drv.c
2+
index 9e172a7..b615df0 100644
3+
--- a/host/drivers/bt/vhci_drv.c
4+
+++ b/host/drivers/bt/vhci_drv.c
5+
@@ -29,6 +29,10 @@ static const char TAG[] = "vhci_drv";
6+
#define BLE_HCI_CMD_HDR_LEN (3)
7+
#endif
8+
9+
+#ifndef __WEAK__
10+
+#define __WEAK__ __attribute__ ((weak))
11+
+#endif
12+
+
13+
void hci_drv_init(void)
14+
{
15+
// do nothing for VHCI: underlying transport should be ready

0 commit comments

Comments
 (0)