mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
struct initialization in old style, init in with 0 instead of NULL
This commit is contained in:
parent
e6691d32ca
commit
4f2f629291
@ -103,7 +103,7 @@ static void (*packet_handler)(uint8_t packet_type, uint8_t *packet, uint16_t si
|
||||
|
||||
static data_source_t hci_transport_h4_dma_ds = {
|
||||
/* .item = */ NULL,
|
||||
/* .fd = */ NULL,
|
||||
/* .fd = */ 0,
|
||||
/* .process = */ h4_process
|
||||
};
|
||||
|
||||
|
@ -135,7 +135,7 @@ static uint8_t tx_packet_type;
|
||||
// data source used in run_loop
|
||||
static data_source_t hci_transport_h4_dma_ds = {
|
||||
/* .item = */ NULL,
|
||||
/* .fd = */ NULL,
|
||||
/* .fd = */ 0,
|
||||
/* .process = */ h4_process
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user