mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 13:20:39 +00:00
renamed hci_transport_t instance getter
This commit is contained in:
parent
6da2c65f6e
commit
fcd143f0be
@ -30,7 +30,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* hci_h4_transport_msp430.c
|
* hci_h4_transport_dma.c
|
||||||
*
|
*
|
||||||
* HCI Transport implementation for basic H4 protocol for blocking UART write and IRQ-driven blockwise RX
|
* HCI Transport implementation for basic H4 protocol for blocking UART write and IRQ-driven blockwise RX
|
||||||
*
|
*
|
||||||
@ -212,7 +212,7 @@ static void dummy_handler(uint8_t packet_type, uint8_t *packet, uint16_t size){
|
|||||||
}
|
}
|
||||||
|
|
||||||
// get h4 singleton
|
// get h4 singleton
|
||||||
hci_transport_t * hci_transport_h4_instance() {
|
hci_transport_t * hci_transport_h4_dma_instance() {
|
||||||
if (hci_transport_h4 == NULL) {
|
if (hci_transport_h4 == NULL) {
|
||||||
hci_transport_h4 = malloc(sizeof(hci_transport_h4_t));
|
hci_transport_h4 = malloc(sizeof(hci_transport_h4_t));
|
||||||
hci_transport_h4->ds = NULL;
|
hci_transport_h4->ds = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user