mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-15 22:20:59 +00:00
l2cap:fix warning
This commit is contained in:
parent
455808b321
commit
4b7d1235ca
@ -463,7 +463,7 @@ static uint8_t l2cap_ertm_send(l2cap_channel_t * channel, const uint8_t * data,
|
||||
if (len > effective_mps){
|
||||
// fragmentation needed.
|
||||
l2cap_segmentation_and_reassembly_t sar = L2CAP_SEGMENTATION_AND_REASSEMBLY_START_OF_L2CAP_SDU;
|
||||
int chunk_len;
|
||||
uint16_t chunk_len = 0;
|
||||
while (len){
|
||||
switch (sar){
|
||||
case L2CAP_SEGMENTATION_AND_REASSEMBLY_START_OF_L2CAP_SDU:
|
||||
|
Loading…
x
Reference in New Issue
Block a user