summaryrefslogtreecommitdiff
path: root/src/components/ble/BatteryInformationService.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2021-07-23 09:59:08 (GMT)
committerGitea <gitea@fake.local>2021-07-23 09:59:08 (GMT)
commitdb6a701644116932f11c54ee0f619464de9faeb7 (patch)
treef2fb7999d6db212e416557ed12831d8ab38cc3c0 /src/components/ble/BatteryInformationService.h
parentd96395c81021778af35b8b4bf965bfe8663eb081 (diff)
parentd6cccc2dcd95a7d332ee657d1357ae060389f6e6 (diff)
Merge branch 'develop' of JF/PineTime into master
Diffstat (limited to 'src/components/ble/BatteryInformationService.h')
-rw-r--r--src/components/ble/BatteryInformationService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/BatteryInformationService.h b/src/components/ble/BatteryInformationService.h
index 7d06090..1303fd6 100644
--- a/src/components/ble/BatteryInformationService.h
+++ b/src/components/ble/BatteryInformationService.h
@@ -17,7 +17,7 @@ namespace Pinetime {
void Init();
int OnBatteryServiceRequested(uint16_t connectionHandle, uint16_t attributeHandle, ble_gatt_access_ctxt* context);
-
+ void NotifyBatteryLevel(uint16_t connectionHandle, uint8_t level);
private:
Controllers::Battery& batteryController;
static constexpr uint16_t batteryInformationServiceId {0x180F};