Project: enum cast fix. Makefile: blackmagic rule in global makefile (#819)
This commit is contained in:
@@ -178,8 +178,9 @@ bool subghz_protocol_common_to_save_file(SubGhzProtocolCommon* instance, Flipper
|
||||
FURI_LOG_E(SUBGHZ_PARSER_TAG, "Unable to add Protocol");
|
||||
break;
|
||||
}
|
||||
uint32_t temp = instance->code_last_count_bit;
|
||||
if(!flipper_file_write_uint32(
|
||||
flipper_file, "Bit", (uint32_t*)&instance->code_last_count_bit, 1)) {
|
||||
flipper_file, "Bit", &temp, 1)) {
|
||||
FURI_LOG_E(SUBGHZ_PARSER_TAG, "Unable to add Bit");
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user