Skip to content

Commit d9063e4

Browse files
authored
Change Bluetooth names vector to use const char*
1 parent 5cc4691 commit d9063e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ You can also indicate multiple alternative Bluetooth names. The system just conn
245245

246246
```cpp
247247
void setup() {
248-
static std::vector<char*> bt_names = {"MyMusic","RadioPlayer","MusicPlayer"};
248+
static std::vector<const char*> bt_names = {"MyMusic","RadioPlayer","MusicPlayer"};
249249
a2dp_source.set_data_callback(get_sound_data)
250250
a2dp_source.start(bt_names);
251251
}

0 commit comments

Comments
 (0)