tool/compile_gatt: mark profile_data as constexpr for C++11

This commit is contained in:
Matthias Ringwald 2020-10-23 16:31:52 +02:00
parent d51536280e
commit fa529fa70e

View File

@ -51,6 +51,10 @@ header = '''
#include <stdint.h>
// Reference: https://en.cppreference.com/w/cpp/feature_test
#if __cplusplus >= 200704L
constexpr
#endif
const uint8_t profile_data[] =
'''