mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 06:39:53 +00:00
hci_cmd: use parentheses to clarify OPCODE macro
This commit is contained in:
parent
8cbbcccdda
commit
5efd501109
@ -53,7 +53,7 @@
|
||||
#include <string.h>
|
||||
|
||||
// calculate combined ogf/ocf value
|
||||
#define OPCODE(ogf, ocf) ((ocf) | (ogf) << 10)
|
||||
#define OPCODE(ogf, ocf) ((ocf) | ((ogf) << 10))
|
||||
|
||||
/**
|
||||
* construct HCI Command based on template
|
||||
|
Loading…
x
Reference in New Issue
Block a user