Skip to content

Commit cd4682d

Browse files
committed
Remove unused motion subscribed method
1 parent 7ea36e8 commit cd4682d

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

src/components/ble/MotionService.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,3 @@ void MotionService::UnsubscribeNotification(uint16_t attributeHandle) {
120120
else if (attributeHandle == motionValuesHandle)
121121
motionValuesNoficationEnabled = false;
122122
}
123-
124-
bool MotionService::IsMotionNotificationSubscribed() const {
125-
return motionValuesNoficationEnabled;
126-
}

src/components/ble/MotionService.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ namespace Pinetime {
2121

2222
void SubscribeNotification(uint16_t attributeHandle);
2323
void UnsubscribeNotification(uint16_t attributeHandle);
24-
bool IsMotionNotificationSubscribed() const;
2524

2625
private:
2726
NimbleController& nimble;

0 commit comments

Comments
 (0)