microbit: Increase maximum descriptor count
The ble-nrf51822 library maintains a static array of BLE descriptors (by default, 8). This patch increases the size of this array to 20. This is required to hold the full complement of services that make up the micro:bit standard BLE profile.
This commit is contained in:
parent
4831021204
commit
47098827fc
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
private:
|
||||
const static unsigned BLE_TOTAL_CHARACTERISTICS = 30;
|
||||
const static unsigned BLE_TOTAL_DESCRIPTORS = 8;
|
||||
const static unsigned BLE_TOTAL_DESCRIPTORS = 20;
|
||||
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue