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/fatfs/stm32_adafruit_sd.c')
-rw-r--r--firmware/targets/f7/fatfs/stm32_adafruit_sd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/targets/f7/fatfs/stm32_adafruit_sd.c b/firmware/targets/f7/fatfs/stm32_adafruit_sd.c
index b97b95c8..9225a90b 100644
--- a/firmware/targets/f7/fatfs/stm32_adafruit_sd.c
+++ b/firmware/targets/f7/fatfs/stm32_adafruit_sd.c
@@ -435,7 +435,7 @@ uint8_t
goto error;
}
- ptr = furi_alloc(sizeof(uint8_t) * BlockSize);
+ ptr = malloc(sizeof(uint8_t) * BlockSize);
if(ptr == NULL) {
goto error;
}
@@ -516,7 +516,7 @@ uint8_t BSP_SD_WriteBlocks(
goto error;
}
- ptr = furi_alloc(sizeof(uint8_t) * BlockSize);
+ ptr = malloc(sizeof(uint8_t) * BlockSize);
if(ptr == NULL) {
goto error;
}