mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-23 05:24:46 -07:00
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware
This commit is contained in:
@@ -78,6 +78,16 @@ bool subghz_block_generic_serialize(
|
||||
FURI_LOG_E(TAG, "Unable to add Key");
|
||||
break;
|
||||
}
|
||||
|
||||
// Nice One - Manual adding support
|
||||
if(instance->data_count_bit == 72 &&
|
||||
(strcmp(instance->protocol_name, "Nice FloR-S") == 0)) {
|
||||
uint32_t temp = (instance->data_2 >> 4) & 0xFFFFF;
|
||||
if(!flipper_format_write_uint32(flipper_format, "Data", &temp, 1)) {
|
||||
FURI_LOG_E(TAG, "Unable to add Data");
|
||||
break;
|
||||
}
|
||||
}
|
||||
res = true;
|
||||
} while(false);
|
||||
furi_string_free(temp_str);
|
||||
|
||||
Reference in New Issue
Block a user