diff --git a/src/graphics/Screen.h b/src/graphics/Screen.h index bdd7107d1..18e2285e0 100644 --- a/src/graphics/Screen.h +++ b/src/graphics/Screen.h @@ -20,6 +20,7 @@ class Screen void forceDisplay() {} void startBluetoothPinScreen(uint32_t pin) {} void stopBluetoothPinScreen() {} + void startRebootScreen() {} }; } diff --git a/src/nimble/NimbleBluetooth.cpp b/src/nimble/NimbleBluetooth.cpp index 4ef21c45e..897463e6f 100644 --- a/src/nimble/NimbleBluetooth.cpp +++ b/src/nimble/NimbleBluetooth.cpp @@ -137,11 +137,7 @@ void NimbleBluetooth::setup() NimBLEDevice::setPower(ESP_PWR_LVL_P9); // FIXME fails in iOS - if (config.bluetooth.mode == Config_BluetoothConfig_PairingMode_NoPin) { - NimBLEDevice::setSecurityIOCap(BLE_HS_IO_NO_INPUT_OUTPUT); - NimBLEDevice::setSecurityAuth(true, false, true); - } - else { + if (config.bluetooth.mode != Config_BluetoothConfig_PairingMode_NoPin) { NimBLEDevice::setSecurityAuth(true, true, true); NimBLEDevice::setSecurityIOCap(BLE_HS_IO_DISPLAY_ONLY); }