aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormark9064 <30447455+mark9064@users.noreply.github.com>2025-10-16 00:05:04 +0100
committermark9064 <30447455+mark9064@users.noreply.github.com>2025-10-16 09:34:55 +0100
commitcd4682d1ef087494ea53dc5c5c2303fdaf5fe2a8 (patch)
tree0217696d0decb63ef1c3e9d50ab6d6df2bb7275e
parent7ea36e8cacaab1406809851c6234cae61287fc17 (diff)
Remove unused motion subscribed method
-rw-r--r--src/components/ble/MotionService.cpp4
-rw-r--r--src/components/ble/MotionService.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/src/components/ble/MotionService.cpp b/src/components/ble/MotionService.cpp
index 1626a5bf..029be894 100644
--- a/src/components/ble/MotionService.cpp
+++ b/src/components/ble/MotionService.cpp
@@ -120,7 +120,3 @@ void MotionService::UnsubscribeNotification(uint16_t attributeHandle) {
else if (attributeHandle == motionValuesHandle)
motionValuesNoficationEnabled = false;
}
-
-bool MotionService::IsMotionNotificationSubscribed() const {
- return motionValuesNoficationEnabled;
-}
diff --git a/src/components/ble/MotionService.h b/src/components/ble/MotionService.h
index acc91e8d..e15cffe3 100644
--- a/src/components/ble/MotionService.h
+++ b/src/components/ble/MotionService.h
@@ -21,7 +21,6 @@ namespace Pinetime {
void SubscribeNotification(uint16_t attributeHandle);
void UnsubscribeNotification(uint16_t attributeHandle);
- bool IsMotionNotificationSubscribed() const;
private:
NimbleController& nimble;