You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ja...@apache.org on 2022/05/17 07:04:42 UTC
[mynewt-nimble] branch master updated: hci_common.h: added missing offset for VS_CSS cmd
This is an automated email from the ASF dual-hosted git repository.
janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
The following commit(s) were added to refs/heads/master by this push:
new c3f2a94f hci_common.h: added missing offset for VS_CSS cmd
c3f2a94f is described below
commit c3f2a94f159c677619a083b0dcad36ff40a91752
Author: jrotkiewicz <ro...@gmail.com>
AuthorDate: Mon May 16 17:49:15 2022 +0200
hci_common.h: added missing offset for VS_CSS cmd
---
nimble/include/nimble/hci_common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nimble/include/nimble/hci_common.h b/nimble/include/nimble/hci_common.h
index aa3e3775..14225f50 100644
--- a/nimble/include/nimble/hci_common.h
+++ b/nimble/include/nimble/hci_common.h
@@ -1100,7 +1100,7 @@ struct ble_hci_vs_set_tx_pwr_rp {
int8_t tx_power;
} __attribute__((packed));
-#define BLE_HCI_OCF_VS_CSS (0x0003)
+#define BLE_HCI_OCF_VS_CSS (MYNEWT_VAL(BLE_HCI_VS_OCF_OFFSET) + (0x0003))
struct ble_hci_vs_css_cp {
uint8_t opcode;
} __attribute__((packed));