File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 50
50
#if (MBED_VERSION > MBED_ENCODE_VERSION(6, 2, 0))
51
51
#define BLE_NAMESPACE ble
52
52
#else
53
- #define BLE_NAMESPACE ble::cordio::vendor
53
+ #define BLE_NAMESPACE ble::vendor::cordio
54
54
#endif
55
55
56
- extern ble ::CordioHCIDriver& ble_cordio_get_hci_driver ();
56
+ extern BLE_NAMESPACE ::CordioHCIDriver& ble_cordio_get_hci_driver ();
57
57
58
- namespace ble {
58
+ namespace BLE_NAMESPACE {
59
59
struct CordioHCIHook {
60
60
static CordioHCIDriver& getDriver () {
61
61
return ble_cordio_get_hci_driver ();
@@ -71,13 +71,13 @@ namespace ble {
71
71
};
72
72
}
73
73
74
- using ble ::CordioHCIHook;
74
+ using BLE_NAMESPACE ::CordioHCIHook;
75
75
76
76
#if CORDIO_ZERO_COPY_HCI
77
77
extern uint8_t *SystemHeapStart;
78
78
extern uint32_t SystemHeapSize;
79
79
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) {
81
81
static bool init = false ;
82
82
83
83
if (init) {
@@ -197,7 +197,7 @@ int HCICordioTransportClass::begin()
197
197
_rxBuf.clear ();
198
198
199
199
#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 ();
201
201
init_wsf (bufPoolDesc);
202
202
#endif
203
203
You can’t perform that action at this time.
0 commit comments