include/btle_hci2.h: Format with clang-format
BRANCH=none
TEST=none
@@ -14,11 +14,11 @@ struct hciCmdHdr {
uint16_t opcode;
uint8_t paramLen;
} __packed;
-#define CMD_MAKE_OPCODE(ogf, ocf) ((((uint16_t)((ogf) & 0x3f)) << 10) | ((ocf) & 0x03ff))
+#define CMD_MAKE_OPCODE(ogf, ocf) \
+ ((((uint16_t)((ogf)&0x3f)) << 10) | ((ocf)&0x03ff))
#define CMD_GET_OGF(opcode) (((opcode) >> 10) & 0x3f)
#define CMD_GET_OCF(opcode) ((opcode)&0x03ff)
-
struct hciAclHdr {
uint16_t hdr;
uint16_t len;
@@ -47,7 +47,6 @@ struct hciEvtHdr {
uint8_t len;
} __packed;
-
void hci_cmd(uint8_t *hciCmdbuf);
void hci_acl_to_host(uint8_t *data, uint16_t hdr, uint16_t len);
void hci_acl_from_host(uint8_t *hciAclbuf);
