TorstenRobitzki / bluetoe

C++ Framework to build Bluetooth LE Server (GATT)
MIT License
141 stars 29 forks source link

fix build errors with arm gcc 10.3 #95

Closed xnlcasad closed 2 years ago

xnlcasad commented 2 years ago

Arm gcc complains about array.size() not being constexpr. This was not present with previous gcc versions. As a safe behaviour, transform the static_assert into a runtime assert.

Fix synchronised callbacks error due to narrowing conversion.