Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/targets/f7/ble_glue/battery_service.c')
-rw-r--r--firmware/targets/f7/ble_glue/battery_service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/targets/f7/ble_glue/battery_service.c b/firmware/targets/f7/ble_glue/battery_service.c
index fcf640c8..1ee155bb 100644
--- a/firmware/targets/f7/ble_glue/battery_service.c
+++ b/firmware/targets/f7/ble_glue/battery_service.c
@@ -17,7 +17,7 @@ static const uint16_t service_uuid = BATTERY_SERVICE_UUID;
static const uint16_t char_battery_level_uuid = BATTERY_LEVEL_CHAR_UUID;
void battery_svc_start() {
- battery_svc = furi_alloc(sizeof(BatterySvc));
+ battery_svc = malloc(sizeof(BatterySvc));
tBleStatus status;
// Add Battery service