struct initialization in old style, init in with 0 instead of NULL

This commit is contained in:
mila@ringwald.ch 2013-12-06 13:46:41 +00:00
parent e6691d32ca
commit 4f2f629291
2 changed files with 2 additions and 2 deletions

View File

@ -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
};

View File

@ -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
};