sforkowany z mirror/meshtastic-firmware
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.
1.2-legacy
rodzic
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);
|
||||
},
|
||||
|
|
Ładowanie…
Reference in New Issue