File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5050#if (MBED_VERSION > MBED_ENCODE_VERSION(6, 2, 0))
5151#define BLE_NAMESPACE ble
5252#else
53- #define BLE_NAMESPACE ble::cordio::vendor
53+ #define BLE_NAMESPACE ble::vendor::cordio
5454#endif
5555
56- extern ble ::CordioHCIDriver& ble_cordio_get_hci_driver ();
56+ extern BLE_NAMESPACE ::CordioHCIDriver& ble_cordio_get_hci_driver ();
5757
58- namespace ble {
58+ namespace BLE_NAMESPACE {
5959 struct CordioHCIHook {
6060 static CordioHCIDriver& getDriver () {
6161 return ble_cordio_get_hci_driver ();
@@ -71,13 +71,13 @@ namespace ble {
7171 };
7272}
7373
74- using ble ::CordioHCIHook;
74+ using BLE_NAMESPACE ::CordioHCIHook;
7575
7676#if CORDIO_ZERO_COPY_HCI
7777extern uint8_t *SystemHeapStart;
7878extern uint32_t SystemHeapSize;
7979
80- void init_wsf (ble ::buf_pool_desc_t & buf_pool_desc) {
80+ void init_wsf (BLE_NAMESPACE ::buf_pool_desc_t & buf_pool_desc) {
8181 static bool init = false ;
8282
8383 if (init) {
@@ -197,7 +197,7 @@ int HCICordioTransportClass::begin()
197197 _rxBuf.clear ();
198198
199199#if CORDIO_ZERO_COPY_HCI
200- ble ::buf_pool_desc_t bufPoolDesc = CordioHCIHook::getDriver ().get_buffer_pool_description ();
200+ BLE_NAMESPACE ::buf_pool_desc_t bufPoolDesc = CordioHCIHook::getDriver ().get_buffer_pool_description ();
201201 init_wsf (bufPoolDesc);
202202#endif
203203
You can’t perform that action at this time.
0 commit comments