hci_cmd: use parentheses to clarify OPCODE macro

This commit is contained in:
Matthias Ringwald 2019-11-19 10:41:33 +01:00
parent 8cbbcccdda
commit 5efd501109

View File

@ -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