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_came_twee.c')
-rw-r--r--lib/subghz/protocols/subghz_protocol_came_twee.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/subghz/protocols/subghz_protocol_came_twee.c b/lib/subghz/protocols/subghz_protocol_came_twee.c
index df55f2f2..714cdf58 100644
--- a/lib/subghz/protocols/subghz_protocol_came_twee.c
+++ b/lib/subghz/protocols/subghz_protocol_came_twee.c
@@ -27,7 +27,7 @@ typedef enum {
} CameTweeDecoderStep;
SubGhzProtocolCameTwee* subghz_protocol_came_twee_alloc() {
- SubGhzProtocolCameTwee* instance = furi_alloc(sizeof(SubGhzProtocolCameTwee));
+ SubGhzProtocolCameTwee* instance = malloc(sizeof(SubGhzProtocolCameTwee));
instance->common.name = "CAME TWEE";
instance->common.code_min_count_bit_for_found = 54;
@@ -327,16 +327,16 @@ void subghz_protocol_came_twee_to_str(SubGhzProtocolCameTwee* instance, string_t
bool subghz_protocol_came_twee_to_save_file(
SubGhzProtocolCameTwee* 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_came_twee_to_load_protocol_from_file(
- FlipperFile* flipper_file,
+ FlipperFormat* flipper_format,
SubGhzProtocolCameTwee* instance,
const char* file_path) {
if(subghz_protocol_common_to_load_protocol_from_file(
- (SubGhzProtocolCommon*)instance, flipper_file)) {
+ (SubGhzProtocolCommon*)instance, flipper_format)) {
subghz_protocol_came_twee_remote_controller(instance);
return true;
}