Change macros names, guidelines & consistency
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23932 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,9 +20,9 @@ struct hci_command_header {
|
||||
|
||||
|
||||
/* Command opcode pack/unpack */
|
||||
#define hci_opcode_pack(ogf, ocf) (uint16)((ocf & 0x03ff)|(ogf << 10))
|
||||
#define hci_opcode_ogf(op) (op >> 10)
|
||||
#define hci_opcode_ocf(op) (op & 0x03ff)
|
||||
#define PACK_OPCODE(ogf, ocf) (uint16)((ocf & 0x03ff)|(ogf << 10))
|
||||
#define GET_OPCODE_OGF(op) (op >> 10)
|
||||
#define GET_OPCODE_OCF(op) (op & 0x03ff)
|
||||
|
||||
|
||||
/* - Informational Parameters Command definition - */
|
||||
|
||||
Reference in New Issue
Block a user