diff --git a/src/main.cpp b/src/main.cpp index bccd911..7097f9a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4542,7 +4542,7 @@ void setup() { .data_in_num = I2S_PIN_NO_CHANGE }; a2dp_sink->set_pin_config(pin_config); - a2dp_sink->start("ESPuino"); + a2dp_sink->start((char *) FPSTR(nameBluetoothDevice)); } else { esp_bt_mem_release(ESP_BT_MODE_BTDM); #endif diff --git a/src/settings.h b/src/settings.h index 6ba07b9..767891d 100644 --- a/src/settings.h +++ b/src/settings.h @@ -80,6 +80,7 @@ uint16_t intervalToLongPress = 700; // Interval in ms to disting // ESPuino will create a WiFi if joing existing WiFi was not possible. Name can be configured here. static const char accessPointNetworkSSID[] PROGMEM = "ESPuino"; // Access-point's SSID +static const char nameBluetoothDevice[] PROGMEM = "ESPuino"; // Name of your ESPuino as Bluetooth-device // Where to store the backup-file for NVS-records static const char backupFile[] PROGMEM = "/backup.txt"; // File is written every time a (new) RFID-assignment via GUI is done