mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-13 16:42:07 +00:00
fix device name
This commit is contained in:
parent
12599849db
commit
d445cbe083
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user