mirror of https://github.com/ARMmbed/mbed-os.git
BLE: Export byte_array_t size exploitable at compile time.
parent
7bf0eb009a
commit
bf41bb3164
|
|
@ -263,6 +263,11 @@ private:
|
|||
|
||||
template <size_t array_size>
|
||||
struct byte_array_t {
|
||||
/**
|
||||
* Size of the array; accessible at compile time.
|
||||
*/
|
||||
static const size_t size_ = array_size;
|
||||
|
||||
/**
|
||||
* Default to all zeroes
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue