32bit subghz hashes (less false duplicates)

This commit is contained in:
Willy-JL
2023-12-14 04:46:53 +00:00
parent c40755f700
commit 02ec1f0867
135 changed files with 258 additions and 203 deletions

View File

@@ -286,10 +286,10 @@ static void subghz_protocol_phoenix_v2_check_remote_controller(SubGhzBlockGeneri
instance->btn = (data_rev >> 32) & 0xF;
}
uint8_t subghz_protocol_decoder_phoenix_v2_get_hash_data(void* context) {
uint32_t subghz_protocol_decoder_phoenix_v2_get_hash_data(void* context) {
furi_assert(context);
SubGhzProtocolDecoderPhoenix_V2* instance = context;
return subghz_protocol_blocks_get_hash_data(
return subghz_protocol_blocks_get_hash_data_long(
&instance->decoder, (instance->decoder.decode_count_bit / 8) + 1);
}