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 @@ -733,13 +733,13 @@ void HCIClass::handleAclDataPkt(uint8_t /*plen*/, uint8_t pdata[])
733733 uint16_t dlen; // dlen + 4 = plen (dlen is the size of the ACL SDU)
734734 } *aclHeader = (HCIACLHdr*)pdata;
735735
736- uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000 ) >> 14 ;
737736 uint8_t pbFlag = (aclHeader->connectionHandleWithFlags & 0x3000 ) >> 12 ;
738737 uint16_t connectionHandle = aclHeader->connectionHandleWithFlags & 0x0fff ;
739738
740739 uint8_t *aclSdu = &pdata[sizeof (HCIACLHdr)];
741740
742741#ifdef _BLE_TRACE_
742+ uint8_t bcFlag = (aclHeader->connectionHandleWithFlags & 0xc000 ) >> 14 ;
743743 Serial.print (" Acl packet bcFlag = " );
744744 Serial.print (bcFlag, BIN);
745745 Serial.print (" pbFlag = " );
You can’t perform that action at this time.
0 commit comments