diff --git a/src/main.cpp b/src/main.cpp index 08c302a7..127a2314 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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); },