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 'lib/subghz/protocols/subghz_protocol_hormann.c')
-rw-r--r--lib/subghz/protocols/subghz_protocol_hormann.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/subghz/protocols/subghz_protocol_hormann.c b/lib/subghz/protocols/subghz_protocol_hormann.c
index 4b6a8094..97363002 100644
--- a/lib/subghz/protocols/subghz_protocol_hormann.c
+++ b/lib/subghz/protocols/subghz_protocol_hormann.c
@@ -15,7 +15,7 @@ typedef enum {
} HormannDecoderStep;
SubGhzProtocolHormann* subghz_protocol_hormann_alloc() {
- SubGhzProtocolHormann* instance = furi_alloc(sizeof(SubGhzProtocolHormann));
+ SubGhzProtocolHormann* instance = malloc(sizeof(SubGhzProtocolHormann));
instance->common.name = "Hormann HSM";
instance->common.code_min_count_bit_for_found = 44;
@@ -188,16 +188,16 @@ void subghz_protocol_hormann_to_str(SubGhzProtocolHormann* instance, string_t ou
bool subghz_protocol_hormann_to_save_file(
SubGhzProtocolHormann* instance,
- FlipperFile* flipper_file) {
- return subghz_protocol_common_to_save_file((SubGhzProtocolCommon*)instance, flipper_file);
+ FlipperFormat* flipper_format) {
+ return subghz_protocol_common_to_save_file((SubGhzProtocolCommon*)instance, flipper_format);
}
bool subghz_protocol_hormann_to_load_protocol_from_file(
- FlipperFile* flipper_file,
+ FlipperFormat* flipper_format,
SubGhzProtocolHormann* instance,
const char* file_path) {
return subghz_protocol_common_to_load_protocol_from_file(
- (SubGhzProtocolCommon*)instance, flipper_file);
+ (SubGhzProtocolCommon*)instance, flipper_format);
}
void subghz_decoder_hormann_to_load_protocol(SubGhzProtocolHormann* instance, void* context) {