summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-24 11:52:51 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-24 11:52:51 (GMT)
commite78a9401ac707fe75da54fdc6ce6c3aa89032360 (patch)
tree7e078b0ca8a4f3222197d0e19a038bf4bc187a17 /src/displayapp/DisplayApp.cpp
parent3c29183dd22d33928ac62c65a378922d49fa06e9 (diff)
Disable bonding; Another try to disable secure pairing
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index 661fd61..6489bb0 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -24,7 +24,6 @@
#include "displayapp/screens/FlashLight.h"
#include "displayapp/screens/BatteryInfo.h"
#include "displayapp/screens/Steps.h"
-#include "displayapp/screens/PassKey.h"
#include "displayapp/screens/Error.h"
#include "drivers/Cst816s.h"
@@ -215,9 +214,6 @@ void DisplayApp::Refresh() {
LoadApp(Apps::Alarm, DisplayApp::FullRefreshDirections::None);
}
break;
- case Messages::ShowPairingKey:
- LoadApp(Apps::PassKey, DisplayApp::FullRefreshDirections::Up);
- break;
case Messages::TouchEvent: {
if (state != States::Running) {
break;
@@ -360,12 +356,6 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
currentScreen = std::make_unique<Screens::FirmwareUpdate>(this, bleController);
ReturnApp(Apps::Clock, FullRefreshDirections::Down, TouchEvents::None);
break;
-
- case Apps::PassKey:
- currentScreen = std::make_unique<Screens::PassKey>(this, bleController.GetPairingKey());
- ReturnApp(Apps::Clock, FullRefreshDirections::Down, TouchEvents::SwipeDown);
- break;
-
case Apps::Notifications:
currentScreen = std::make_unique<Screens::Notifications>(
this, notificationManager, systemTask->nimble().alertService(), motorController, *systemTask, Screens::Notifications::Modes::Normal);