File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -731,13 +731,13 @@ void HCIClass::handleAclDataPkt(uint8_t /*plen*/, uint8_t pdata[])
731731 uint16_t dlen; // dlen + 4 = plen (dlen is the size of the ACL SDU)
732732 } *aclHeader = (HCIACLHdr*)pdata;
733733
734- uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000 ) >> 14 ;
735734 uint8_t pbFlag = (aclHeader->connectionHandleWithFlags & 0x3000 ) >> 12 ;
736735 uint16_t connectionHandle = aclHeader->connectionHandleWithFlags & 0x0fff ;
737736
738737 uint8_t *aclSdu = &pdata[sizeof (HCIACLHdr)];
739738
740739#ifdef _BLE_TRACE_
740+ uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000 ) >> 14 ;
741741 Serial.print (" Acl packet bcFlag = " );
742742 Serial.print (bcFlag, BIN);
743743 Serial.print (" pbFlag = " );
You can’t perform that action at this time.
0 commit comments