NavigationService: Remove unused SystemTask ref
This commit is contained in:
parent
7e15a1e340
commit
ca5e7d1adf
|
@ -18,8 +18,6 @@
|
|||
|
||||
#include "components/ble/NavigationService.h"
|
||||
|
||||
#include "systemtask/SystemTask.h"
|
||||
|
||||
namespace {
|
||||
// 0001yyxx-78fc-48fe-8e23-433b3a1942d0
|
||||
constexpr ble_uuid128_t CharUuid(uint8_t x, uint8_t y) {
|
||||
|
@ -45,7 +43,7 @@ namespace {
|
|||
}
|
||||
} // namespace
|
||||
|
||||
Pinetime::Controllers::NavigationService::NavigationService(Pinetime::System::SystemTask& system) : m_system(system) {
|
||||
Pinetime::Controllers::NavigationService::NavigationService() {
|
||||
characteristicDefinition[0] = {.uuid = &navFlagCharUuid.u,
|
||||
.access_cb = NAVCallback,
|
||||
.arg = this,
|
||||
|
|
|
@ -27,15 +27,11 @@
|
|||
#undef min
|
||||
|
||||
namespace Pinetime {
|
||||
namespace System {
|
||||
class SystemTask;
|
||||
}
|
||||
|
||||
namespace Controllers {
|
||||
|
||||
class NavigationService {
|
||||
public:
|
||||
explicit NavigationService(Pinetime::System::SystemTask& system);
|
||||
NavigationService();
|
||||
|
||||
void Init();
|
||||
|
||||
|
@ -57,8 +53,6 @@ namespace Pinetime {
|
|||
std::string m_narrative;
|
||||
std::string m_manDist;
|
||||
int m_progress;
|
||||
|
||||
Pinetime::System::SystemTask& m_system;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,7 +44,6 @@ NimbleController::NimbleController(Pinetime::System::SystemTask& systemTask,
|
|||
currentTimeService {dateTimeController},
|
||||
musicService {*this},
|
||||
weatherService {dateTimeController},
|
||||
navService {systemTask},
|
||||
batteryInformationService {batteryController},
|
||||
immediateAlertService {systemTask, notificationManager},
|
||||
heartRateService {systemTask, heartRateController},
|
||||
|
|
Loading…
Reference in New Issue
Block a user