Skip to content

Commit 218bf3f

Browse files
author
Donatien Garnier
committed
Cordio: Update ODIN-W2 Driver to use default memory pool
1 parent 2978cd8 commit 218bf3f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

features/FEATURE_BLE/targets/TARGET_CORDIO_ODIN_W2/HCIDriver.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ class HCIDriver : public cordio::CordioHCIDriver {
4141
service_pack_transfered(false) {
4242
};
4343

44+
virtual cordio::buf_pool_desc_t get_buffer_pool_description();
45+
4446
virtual void do_initialize();
4547

4648
virtual void do_terminate();
@@ -134,6 +136,13 @@ class HCIDriver : public cordio::CordioHCIDriver {
134136
} // namespace vendor
135137
} // namespace ble
136138

139+
140+
ble::vendor::cordio::buf_pool_desc_t ble::vendor::odin_w2::HCIDriver::get_buffer_pool_description()
141+
{
142+
// Use default buffer pool
143+
return ble::vendor::cordio::CordioHCIDriver::get_default_buffer_pool_description();
144+
}
145+
137146
void ble::vendor::odin_w2::HCIDriver::do_initialize()
138147
{
139148
cordio_callback_s callback;

0 commit comments

Comments
 (0)