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 'applications/subghz/views/subghz_receiver.c')
-rw-r--r--applications/subghz/views/subghz_receiver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/subghz/views/subghz_receiver.c b/applications/subghz/views/subghz_receiver.c
index b158d870..92bfbb53 100644
--- a/applications/subghz/views/subghz_receiver.c
+++ b/applications/subghz/views/subghz_receiver.c
@@ -243,7 +243,7 @@ void subghz_receiver_exit(void* context) {
}
SubghzReceiver* subghz_receiver_alloc() {
- SubghzReceiver* subghz_receiver = furi_alloc(sizeof(SubghzReceiver));
+ SubghzReceiver* subghz_receiver = malloc(sizeof(SubghzReceiver));
// View allocation and configuration
subghz_receiver->view = view_alloc();
@@ -259,7 +259,7 @@ SubghzReceiver* subghz_receiver_alloc() {
string_init(model->frequency_str);
string_init(model->preset_str);
string_init(model->history_stat_str);
- model->history = furi_alloc(sizeof(SubGhzReceiverHistory));
+ model->history = malloc(sizeof(SubGhzReceiverHistory));
SubGhzReceiverMenuItemArray_init(model->history->data);
return true;
});
@@ -313,4 +313,4 @@ void subghz_receiver_set_idx_menu(SubghzReceiver* subghz_receiver, uint16_t idx)
return true;
});
subghz_receiver_update_offset(subghz_receiver);
-} \ No newline at end of file
+}