fix device name

pull/111/head
geeksville 2020-04-23 21:22:58 -07:00
rodzic 12599849db
commit d445cbe083
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,6 @@
#include "NRF52Bluetooth.h" #include "NRF52Bluetooth.h"
#include "configuration.h" #include "configuration.h"
#include "main.h"
#include <bluefruit.h> #include <bluefruit.h>
/* HRM Service Definitions /* HRM Service Definitions
@ -153,7 +154,7 @@ void NRF52Bluetooth::setup()
Bluefruit.begin(); Bluefruit.begin();
// Set the advertised device name (keep it short!) // Set the advertised device name (keep it short!)
Bluefruit.setName("Meshtastic52"); // FIXME Bluefruit.setName(getDeviceName()); // FIXME
// Set the connect/disconnect callback handlers // Set the connect/disconnect callback handlers
Bluefruit.Periph.setConnectCallback(connect_callback); Bluefruit.Periph.setConnectCallback(connect_callback);