summaryrefslogtreecommitdiff
path: root/src/components/ble/MotionService.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-10-26 20:31:18 +0200
committerJean-François Milants <jf@codingfield.com>2021-10-26 20:31:18 +0200
commit71ce13d3095febf9dcdb0ddc6ca03b515fd7d57a (patch)
treec04168beb14a7aa9bf7b5c73f2a26be7741fc91f /src/components/ble/MotionService.h
parent82ca526ec2db11d9e4aa2d91cd69ed2394e3a843 (diff)
Motion service : fix step notifications that were sent as a single byte instead of 4 (uint32_t).
Diffstat (limited to 'src/components/ble/MotionService.h')
-rw-r--r--src/components/ble/MotionService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/MotionService.h b/src/components/ble/MotionService.h
index 75ad5182..1b4ac0a3 100644
--- a/src/components/ble/MotionService.h
+++ b/src/components/ble/MotionService.h
@@ -17,7 +17,7 @@ namespace Pinetime {
MotionService(Pinetime::System::SystemTask& system, Controllers::MotionController& motionController);
void Init();
int OnStepCountRequested(uint16_t connectionHandle, uint16_t attributeHandle, ble_gatt_access_ctxt* context);
- void OnNewStepCountValue(uint8_t stepCount);
+ void OnNewStepCountValue(uint32_t stepCount);
void OnNewMotionValues(int16_t x, int16_t y, int16_t z);
void SubscribeNotification(uint16_t connectionHandle, uint16_t attributeHandle);