We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c201b4 commit b83c4fdCopy full SHA for b83c4fd
features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioBLE.cpp
@@ -330,7 +330,9 @@ void BLE::stack_setup()
330
buf_pool_desc.pool_count, buf_pool_desc.pool_description
331
);
332
333
- MBED_ASSERT(bytes_used != 0);
+ // This assert will fail if we've either allocated too much or too little memory
334
+ // (bytes_used would be set to 0 in that case)
335
+ MBED_ASSERT(bytes_used == buf_pool_desc.buffer_size);
336
337
WsfTimerInit();
338
SecInit();
0 commit comments