Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
faae7700
Commit
faae7700
authored
Aug 23, 2019
by
schneider
Browse files
hack(ble): increase buffer amount
parent
edeac9cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
epicardium/ble/ble.c
View file @
faae7700
...
...
@@ -16,8 +16,9 @@
#include
<string.h>
#include
<stdbool.h>
#define FACTOR 4
#define WSF_BUF_POOLS 6
#define WSF_BUF_SIZE 0x1048
#define WSF_BUF_SIZE
(
0x1048
* FACTOR)
uint32_t
SystemHeapSize
=
WSF_BUF_SIZE
;
uint32_t
SystemHeap
[
WSF_BUF_SIZE
/
4
];
...
...
@@ -30,12 +31,12 @@ static TaskHandle_t ble_task_id = NULL;
/* clang-format off */
static
wsfBufPoolDesc_t
mainPoolDesc
[
WSF_BUF_POOLS
]
=
{
{
16
,
8
},
{
32
,
4
},
{
64
,
4
},
{
128
,
4
},
{
256
,
4
},
{
512
,
4
}
{
16
,
8
*
FACTOR
},
{
32
,
4
*
FACTOR
},
{
64
,
4
*
FACTOR
},
{
128
,
4
*
FACTOR
},
{
256
,
4
*
FACTOR
},
{
512
,
4
*
FACTOR
}
};
/* clang-format on */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment