mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 04:20:33 +00:00
Merge branch 'master' into ble-api-cleanup
This commit is contained in:
commit
351804d52c
@ -267,11 +267,8 @@ static int h4_send_packet(uint8_t packet_type, uint8_t *packet, int size){
|
|||||||
packet--;
|
packet--;
|
||||||
*packet = packet_type;
|
*packet = packet_type;
|
||||||
|
|
||||||
tx_data = packet;
|
|
||||||
tx_len = size;
|
|
||||||
|
|
||||||
tx_state = TX_W4_PACKET_SENT;
|
tx_state = TX_W4_PACKET_SENT;
|
||||||
hal_uart_dma_send_block(tx_data, tx_len);
|
hal_uart_dma_send_block(packet, size);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user