File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
features/FEATURE_BLE/targets/TARGET_CORDIO/driver Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void CordioHCIDriver::terminate()
78
78
_transport_driver.terminate ();
79
79
}
80
80
81
- buf_pool_desc_t CordioHCIDriver::get_buffer_pool_description ()
81
+ buf_pool_desc_t CordioHCIDriver::get_default_buffer_pool_description ()
82
82
{
83
83
static union {
84
84
uint8_t buffer[2250 ];
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class CordioHCIDriver {
77
77
/* *
78
78
* Return the set of memory pool which will be used by the Cordio stack
79
79
*/
80
- virtual buf_pool_desc_t get_buffer_pool_description ();
80
+ virtual buf_pool_desc_t get_buffer_pool_description () = 0 ;
81
81
82
82
/* *
83
83
* Initialize the HCI driver.
@@ -126,6 +126,12 @@ class CordioHCIDriver {
126
126
*/
127
127
uint16_t write (uint8_t type, uint16_t len, uint8_t *pData);
128
128
129
+ protected:
130
+ /* *
131
+ * Return a defai;t set of memory pool which will be used by the Cordio stack
132
+ */
133
+ buf_pool_desc_t get_default_buffer_pool_description ();
134
+
129
135
private:
130
136
/* *
131
137
* Initialize the chip.
You can’t perform that action at this time.
0 commit comments