Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: BLE_PowerBank_HeyFaradey
Fork of BLE_API by
Diff: ble/services/BatteryService.h
- Revision:
- 937:4932e700daf2
- Parent:
- 935:e9b595e6b0ed
- Child:
- 946:b04eee0c964a
--- a/ble/services/BatteryService.h Thu Nov 26 12:52:06 2015 +0000
+++ b/ble/services/BatteryService.h Thu Nov 26 12:52:06 2015 +0000
@@ -28,11 +28,11 @@
class BatteryService {
public:
/**
- * @param[ref] _ble
- * BLE object for the underlying controller.
- * @param[in] level
- * 8bit batterly level. Usually used to represent percentage of batterly charge remaining.
- */
+ * @param[ref] _ble
+ * BLE object for the underlying controller.
+ * @param[in] level
+ * 8bit batterly level. Usually used to represent percentage of batterly charge remaining.
+ */
BatteryService(BLE &_ble, uint8_t level = 100) :
ble(_ble),
batteryLevel(level),
