mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00
fix #52: bluetooth not pairing
Silly type error on my part - PIN was always truncated to lower 8 bits.
😬
Tested: Pairing now works from both nRF Connect and phone.
This commit is contained in:
parent
992b525588
commit
dee3e530de
@ -260,7 +260,7 @@ void initBluetooth()
|
||||
|
||||
// Note: these callbacks might be coming in from a different thread.
|
||||
BLEServer *serve = initBLE(
|
||||
[](uint8_t pin) {
|
||||
[](uint32_t pin) {
|
||||
powerFSM.trigger(EVENT_BLUETOOTH_PAIR);
|
||||
screen.startBluetoothPinScreen(pin);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user