From 2573c430641c9852094ea885e5fce1ba5b89fda1 Mon Sep 17 00:00:00 2001 From: Oliver Ruiz Dorantes Date: Fri, 8 Feb 2008 18:29:33 +0000 Subject: [PATCH] Change macros names, guidelines & consistency git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23932 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/bluetooth/HCI/btHCI_command.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/os/bluetooth/HCI/btHCI_command.h b/headers/os/bluetooth/HCI/btHCI_command.h index 0e832526a7..f3815605dc 100644 --- a/headers/os/bluetooth/HCI/btHCI_command.h +++ b/headers/os/bluetooth/HCI/btHCI_command.h @@ -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 - */