mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-22 06:41:17 +00:00
example/gap_le_advertisements: define adv type strings as const (avoids warnings)
This commit is contained in:
parent
0074810566
commit
e3c4fe2ff2
@ -85,7 +85,7 @@ static void gap_le_advertisements_setup(void){
|
||||
*/
|
||||
|
||||
/* LISTING_START(GAPLEAdvDataTypesAndFlags): Advertising data types and flags */
|
||||
static char * ad_types[] = {
|
||||
static const char * ad_types[] = {
|
||||
"",
|
||||
"Flags",
|
||||
"Incomplete List of 16-bit Service Class UUIDs",
|
||||
@ -115,7 +115,7 @@ static char * ad_types[] = {
|
||||
"Advertising Interval"
|
||||
};
|
||||
|
||||
static char * flags[] = {
|
||||
static const char * flags[] = {
|
||||
"LE Limited Discoverable Mode",
|
||||
"LE General Discoverable Mode",
|
||||
"BR/EDR Not Supported",
|
||||
|
Loading…
x
Reference in New Issue
Block a user